import { Meta, StoryFn, StoryObj } from '@storybook/react' import React from 'react' import * as illustrations from '../illustrations/index.js' import { Box, Label } from '../index.js' import { Illustration, IllustrationProps, IllustrationVariant } from './index.js' const illustrationVariants = Object.keys(illustrations) as IllustrationVariant[] export const Default: StoryObj = { render: ({ variant }) => , } export const Illustrations: StoryFn = () => ( {illustrationVariants.map((key) => ( ))} ) const meta: Meta = { title: 'DesignSystem/Atoms/Illustration', args: { variant: illustrationVariants[0], width: 150, height: 150, }, argTypes: { variant: { options: illustrationVariants, control: { type: 'select' } }, width: { control: { type: 'number' } }, height: { control: { type: 'number' } }, }, } export default meta