Skip to content

Commit 0fc3780

Browse files
docs(sheet): Add sheet docs
1 parent 3e8159c commit 0fc3780

File tree

5 files changed

+413
-0
lines changed

5 files changed

+413
-0
lines changed

projects/docs/src/app/pages/docs/components/components.routes.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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)
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
}

0 commit comments

Comments
 (0)