import type { Meta, StoryObj } from '@storybook/angular';
import { applicationConfig } from '@storybook/angular';
import { provideRouter } from '@angular/router';
import { SiteHeaderComponent } from './site-header.component';

const meta: Meta<SiteHeaderComponent> = {
  title: 'Layout/Site Header',
  component: SiteHeaderComponent,
  decorators: [applicationConfig({ providers: [provideRouter([])] })],
  render: (args) => ({
    props: args,
    template: `<app-site-header [subtitle]="subtitle" />`,
  }),
  args: { subtitle: 'Mijn omgeving' },
};
export default meta;
type Story = StoryObj<SiteHeaderComponent>;

export const Default: Story = {};
