You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

19 lines
724 B

import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { MarketState } from '../../../../../apps/api/src/services/interfaces/interfaces'; // TODO: @ghostfolio/api/services/interfaces/interfaces
import { DateRange } from '../../../../common/src/lib/types'; // TODO: @ghostfolio/common/types
@Component({
selector: 'gf-trend-indicator',
changeDetection: ChangeDetectionStrategy.OnPush,
templateUrl: './trend-indicator.component.html',
styleUrls: ['./trend-indicator.component.scss']
})
export class TrendIndicatorComponent {
@Input() isLoading = false;
@Input() marketState: MarketState = 'open';
@Input() range: DateRange = 'max';
@Input() value = 0;
public constructor() {}
}