Skip to content

Commit

Permalink
#9057 - Migrate tui-badge docs API to new API (#10112)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiv9604 authored Jan 10, 2025
1 parent 0b74a44 commit 322997e
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions projects/demo/src/modules/components/badge/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,26 +90,27 @@
[(ngModel)]="contentType"
/>
</div>
<tui-doc-documentation>
<ng-template
documentationPropertyMode="input"
documentationPropertyName="size"
documentationPropertyType="TuiSizeL"
[documentationPropertyValues]="sizeVariants"
[(documentationPropertyValue)]="size"
<table tuiDocAPI>
<tr
name="[size]"
tuiDocAPIItem
type="TuiSizeL"
[items]="sizeVariants"
[(value)]="size"
>
Size
</ng-template>
<ng-template
documentationPropertyMode="input"
documentationPropertyName="appearance"
documentationPropertyType="TuiStatus"
[documentationPropertyValues]="appearanceVariants"
[(documentationPropertyValue)]="appearance"
</tr>

<tr
name="[appearance]"
tuiDocAPIItem
type="TuiStatus"
[items]="appearanceVariants"
[(value)]="appearance"
>
Appearance
</ng-template>
</tui-doc-documentation>
</tr>
</table>
</ng-template>

<tui-setup *pageTab />
Expand Down

0 comments on commit 322997e

Please sign in to comment.