One-time prettier --write so the new format:check CI gate starts green. .prettierignore excludes generated (api-client.ts, documentation.json), vendored (public/cibg-huisstijl), and backend (dotnet format owns it). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
24 lines
580 B
TypeScript
24 lines
580 B
TypeScript
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' },
|
|
],
|
|
},
|
|
};
|