import type { Meta, StoryObj } from '@storybook/angular';
import { AlertComponent } from './alert.component';

const meta: Meta<AlertComponent> = {
  title: 'Atoms/Alert',
  component: AlertComponent,
  render: (args) => ({
    props: args,
    template: `<app-alert [type]="type">Uw wijziging is ontvangen.</app-alert>`,
  }),
};
export default meta;
type Story = StoryObj<AlertComponent>;

export const Info: Story = { args: { type: 'info' } };
export const Ok: Story = { args: { type: 'ok' } };
export const Warning: Story = { args: { type: 'warning' } };
export const Error: Story = { args: { type: 'error' } };
