mirror of
https://github.com/mempool/mempool.git
synced 2025-03-01 17:17:09 +01:00
24 lines
569 B
TypeScript
24 lines
569 B
TypeScript
|
import { Component, OnInit } from '@angular/core';
|
||
|
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||
|
|
||
|
@Component({
|
||
|
selector: 'app-assets-nav',
|
||
|
templateUrl: './assets-nav.component.html',
|
||
|
styleUrls: ['./assets-nav.component.scss']
|
||
|
})
|
||
|
export class AssetsNavComponent implements OnInit {
|
||
|
activeTab = 0;
|
||
|
searchForm: FormGroup;
|
||
|
|
||
|
constructor(
|
||
|
private formBuilder: FormBuilder,
|
||
|
) { }
|
||
|
|
||
|
ngOnInit(): void {
|
||
|
this.searchForm = this.formBuilder.group({
|
||
|
searchText: [{ value: '', disabled: true }, Validators.required]
|
||
|
});
|
||
|
}
|
||
|
|
||
|
}
|