File tree Expand file tree Collapse file tree 5 files changed +413
-0
lines changed
Expand file tree Collapse file tree 5 files changed +413
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ export const routes: Routes = [
4040 path : 'dialog' ,
4141 loadComponent : ( ) => import ( './dialog/dialog' ) . then ( m => m . Dialog )
4242 } ,
43+ {
44+ path : 'sheet' ,
45+ loadComponent : ( ) => import ( './sheet/sheet' ) . then ( m => m . Sheet )
46+ } ,
4347 {
4448 path : 'alert-dialog' ,
4549 loadComponent : ( ) => import ( './alert-dialog/alert-dialog' ) . then ( m => m . AlertDialog )
Original file line number Diff line number Diff line change 1+ import { Component } from '@angular/core' ;
2+ import { ComponentPreview } from '@components/component-preview/component-preview' ;
3+ import { sheetVariants , sheetMeta } from './sheet.variants' ;
4+
5+ @Component ( {
6+ selector : 'docs-sheet' ,
7+ imports : [ ComponentPreview ] ,
8+ template : `
9+ <docs-component-preview
10+ [meta]="sheetMeta"
11+ [variants]="sheetVariants">
12+ </docs-component-preview>
13+ `
14+ } )
15+ export class Sheet {
16+ sheetMeta = sheetMeta ;
17+ sheetVariants = sheetVariants ;
18+ }
You can’t perform that action at this time.
0 commit comments