Added a bunch of stuff
This commit is contained in:
17
src/components/select/select.component.ts
Normal file
17
src/components/select/select.component.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Component, Input, inject } from '@angular/core';
|
||||
import { DataService } from '../../services/data.service';
|
||||
import { CommonModule } from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'fbi-select',
|
||||
standalone: true,
|
||||
imports: [CommonModule],
|
||||
templateUrl: './select.component.html',
|
||||
styleUrl: './select.component.scss',
|
||||
})
|
||||
export class SelectComponent {
|
||||
@Input() label!: string;
|
||||
@Input() data!: (string | number)[];
|
||||
|
||||
private dataService = inject(DataService);
|
||||
}
|
||||
Reference in New Issue
Block a user