Skip to content

Commit

Permalink
fix(demo): TuiHeader add TuiTitle to import example (#10416)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdlufy authored Feb 20, 2025
1 parent 0422514 commit 49a845a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
```ts
import {Component} from '@angular/core';
import {TuiHeader} from '@taiga-ui/layout';
import {TuiTitle} from '@taiga-ui/core';
// ...

@Component({
standalone: true,
imports: [
// ...
TuiHeader,
TuiTitle,
],
})
export class Example {}
Expand Down
6 changes: 3 additions & 3 deletions projects/demo/src/modules/components/header/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@
description="Buttons/badges sizes according to the header size"
heading="Sizes"
[component]="1 | tuiComponent"
[content]="1 | tuiExample: 'html'"
[content]="1 | tuiExample"
/>

<tui-doc-example
id="accessories"
heading="Accessories"
[component]="2 | tuiComponent"
[content]="2 | tuiExample: 'html,less'"
[content]="2 | tuiExample"
/>

<tui-doc-example
id="interactive"
heading="Interactive"
[component]="3 | tuiComponent"
[content]="3 | tuiExample: 'html,less'"
[content]="3 | tuiExample"
/>
</ng-template>

Expand Down

0 comments on commit 49a845a

Please sign in to comment.