diff --git a/stories/atoms/DisplayName.stories.ts b/stories/atoms/DisplayName.stories.ts new file mode 100644 index 0000000..779d347 --- /dev/null +++ b/stories/atoms/DisplayName.stories.ts @@ -0,0 +1,29 @@ +import type { Meta, StoryObj } from '@storybook/svelte'; + +import DisplayName from '$lib/components/atoms/DisplayName.svelte'; + +const meta = { + title: 'Atoms/DisplayName', + component: DisplayName, + tags: ['autodocs'], + argTypes: { + displayName: { + control: 'text', + description: 'Under which name shall the person be known?' + }, + pronoun: { + control: 'text', + description: 'How shall the person be adressed?' + } + } +} satisfies Meta; + +export default meta; +type Story = StoryObj; + +export const Plain: Story = { + args: { + displayName: 'Jane Doe', + pronoun: 'she/her' + } +};