import type { Meta, StoryObj } from '@storybook/angular';
import { DeliveryChannelToggleComponent } from './delivery-channel-toggle.component';

const meta: Meta<DeliveryChannelToggleComponent> = {
  title: 'Atoms/DeliveryChannelToggle',
  component: DeliveryChannelToggleComponent,
  render: (args) => ({
    props: args,
    template: `<app-delivery-channel-toggle [channel]="channel" [name]="name" [disabled]="disabled" />`,
  }),
};
export default meta;
type Story = StoryObj<DeliveryChannelToggleComponent>;

export const Digital: Story = { args: { channel: 'digital', name: 'diploma-channel', disabled: false } };
export const Post: Story = { args: { channel: 'post', name: 'diploma-channel', disabled: false } };
