import type { Meta, StoryObj } from '@storybook/angular';
import { RadioGroupComponent } from './radio-group.component';

const meta: Meta<RadioGroupComponent> = {
  title: 'Atoms/RadioGroup',
  component: RadioGroupComponent,
  render: (args) => ({
    props: args,
    template: `<app-radio-group [options]="options" [name]="name" />`,
  }),
};
export default meta;
type Story = StoryObj<RadioGroupComponent>;

export const JaNee: Story = {
  args: { name: 'voorbeeld', options: [{ value: 'ja', label: 'Ja' }, { value: 'nee', label: 'Nee' }] },
};
