diff --git a/utils/tabs/tab.component.ts b/utils/tabs/tab.component.ts index 60f26b2b..93c691f2 100644 --- a/utils/tabs/tab.component.ts +++ b/utils/tabs/tab.component.ts @@ -6,6 +6,12 @@ import { Component, Input } from '@angular/core'; +export interface TabIcon { + svg: string; + ratio: number; + fill: string; +} + @Component({ selector: 'my-tab', // styles: [ @@ -32,4 +38,5 @@ export class TabComponent { @Input('tabNumber') num: number; @Input('customClass') customClass:string = ""; @Input('tabId') tabId: string; + @Input('tabIcon') tabIcon: TabIcon; } diff --git a/utils/tabs/tabs.component.ts b/utils/tabs/tabs.component.ts index 90c4cfbf..5c176d0b 100644 --- a/utils/tabs/tabs.component.ts +++ b/utils/tabs/tabs.component.ts @@ -20,7 +20,8 @@ import { TabComponent } from './tab.component';