import type { Meta, StoryObj } from '@storybook/angular'; import { applicationConfig, moduleMetadata } from '@storybook/angular'; import { provideRouter } from '@angular/router'; import { PageShellComponent } from './page-shell.component'; import { ButtonComponent } from '@shared/ui/button/button.component'; const meta: Meta = { title: 'Design System/Templates/PageShell', component: PageShellComponent, decorators: [ applicationConfig({ providers: [provideRouter([])] }), moduleMetadata({ imports: [ButtonComponent] }), ], render: (args) => ({ props: args, template: `

Pagina-inhoud wordt hier geprojecteerd.

Een actie
`, }), }; export default meta; type Story = StoryObj; export const Default: Story = { args: { heading: 'Mijn BIG-registratie', intro: 'Overzicht van uw registratie.' }, }; export const WithBackLink: Story = { args: { heading: 'Mijn gegevens', backLink: '/dashboard' }, }; export const Narrow: Story = { args: { heading: 'Inloggen', width: 'narrow', intro: 'Log in op uw omgeving.' }, };