import {Component, Input, OnDestroy, OnInit} from "@angular/core"; import {Option} from "../../../utils/indicator-utils"; @Component({ selector: '[dashboard-input]', template: `
` }) export class InputComponent implements OnInit, OnDestroy { @Input('formInput') formControl: any; @Input('type') type: string = 'text'; @Input('label') label: string; @Input('rows') rows: number = 3; @Input('options') options: Option[]; constructor() { } ngOnInit(): void { } ngOnDestroy(): void { } }