Skip to content

Commit 90fd15e

Browse files
committed
docs: add comment why users should use templates
Signed-off-by: Akshat Patel <[email protected]>
1 parent e2c601e commit 90fd15e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tabs/tabs.stories.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ const Template = (args) => ({
3030
<cds-tab heading="one" [tabContent]="one"></cds-tab>
3131
<cds-tab heading="two" [tabContent]="two"></cds-tab>
3232
<cds-tab heading="three" [tabContent]="three"></cds-tab>
33-
<cds-tab heading="three">Tab Content 3</cds-tab>
33+
<cds-tab heading="four">Tab Content 4</cds-tab>
3434
</cds-tabs>
3535
36-
36+
<!-- Use templates if you would like to have lifecycle hooks called when cacheActive is false -->
3737
<ng-template #one>
3838
Tab Content 1
3939
</ng-template>

0 commit comments

Comments
 (0)