Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | import './setup'; import type { Meta, StoryObj } from '@storybook/angular'; import { HeaderComponent } from 'src/app/components/header/header.component'; import { IonHeader, IonTitle, IonToolbar } from '@ionic/angular/standalone'; import { BackButtonComponent } from 'src/app/components/back-button/back-button.component'; import { ForAngularCommonModule } from 'src/lib/for-angular-common.module'; import { getComponentMeta } from './utils'; import { OperationKeys } from '@decaf-ts/db-decorators'; const component = getComponentMeta<HeaderComponent>([ ForAngularCommonModule, IonHeader, IonTitle, IonToolbar, BackButtonComponent, ]); const meta: Meta<HeaderComponent> = { title: 'Components/Header', component: HeaderComponent, // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs ...component, args: { title: 'Header Component', operations: [OperationKeys.CREATE], }, }; export default meta; type Story = StoryObj<HeaderComponent>; export const init: Story = { args: { title: meta.title + ' - init', route: '/home' }, }; |