Skip to content

Commit

Permalink
chore(demo): changed first appbar example to standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
KrollikRoddzer committed Mar 11, 2024
1 parent 63ed8a3 commit 9864702
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ import {TuiAppBarExample1} from './examples/1';
TuiNotificationModule,
TuiAppBarModule,
TuiAddonDocModule,
TuiAppBarExample1,
RouterModule.forChild(tuiGenerateRoutes(ExampleTuiAppBarComponent)),
],
declarations: [ExampleTuiAppBarComponent, TuiAppBarExample1],
declarations: [ExampleTuiAppBarComponent],
exports: [ExampleTuiAppBarComponent],
})
export class ExampleTuiAppBarModule {}
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
import {Component} from '@angular/core';
import {changeDetection} from '@demo/emulate/change-detection';
import {encapsulation} from '@demo/emulate/encapsulation';
import {TuiAppBarModule} from '@taiga-ui/addon-mobile';
import {TuiButtonModule, TuiLabelModule} from '@taiga-ui/core';
import {TuiProgressModule} from '@taiga-ui/kit';

@Component({
standalone: true,
selector: 'tui-app-bar-example-1',
imports: [TuiAppBarModule, TuiButtonModule, TuiProgressModule, TuiLabelModule],
templateUrl: './index.html',
styleUrls: ['./index.less'],
encapsulation,
Expand Down

0 comments on commit 9864702

Please sign in to comment.