Skip to content

Commit d0620d1

Browse files
committed
fix(tabs2): missing exportAs
1 parent c097d12 commit d0620d1

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

projects/coreui-angular/src/lib/tabs-2/tab-panel/tab-panel.component.ts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ type AnimateType = 'hide' | 'show';
1919
type VisibleChangeEvent = { itemKey: string | number; visible: boolean };
2020

2121
@Component({
22+
exportAs: 'cTabPanel',
2223
selector: 'c-tab-panel',
2324
standalone: true,
2425
template: '<ng-content />',

projects/coreui-angular/src/lib/tabs-2/tab/tab.directive.ts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { filter, tap } from 'rxjs/operators';
1919
import { TabsService } from '../tabs.service';
2020

2121
@Directive({
22+
exportAs: 'cTab',
2223
selector: 'button[cTab]',
2324
standalone: true,
2425
host: {

projects/coreui-angular/src/lib/tabs-2/tabs-content/tabs-content.component.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Component } from '@angular/core';
22

33
@Component({
4+
exportAs: 'cTabsContent',
45
selector: 'c-tabs-content',
56
standalone: true,
67
template: '<ng-content />',

projects/coreui-angular/src/lib/tabs-2/tabs-list/tabs-list.component.ts

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import { TabDirective } from '../tab/tab.directive';
1717
import { TabsService } from '../tabs.service';
1818

1919
@Component({
20+
exportAs: 'cTabsList',
2021
selector: 'c-tabs-list',
2122
standalone: true,
2223
imports: [TabDirective],

projects/coreui-angular/src/lib/tabs-2/tabs.component.ts

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { TabsService } from './tabs.service';
44
let nextId = 0;
55

66
@Component({
7+
exportAs: 'cTabs',
78
selector: 'c-tabs',
89
standalone: true,
910
imports: [],

0 commit comments

Comments
 (0)