import { Story, Meta } from '@storybook/react' import Heading, { H1, H2, H3 } from './Heading' import { HeadingProps, HeadingColor, HeadingSize, HProps } from './types' const getOptions = (enumObject: Record) => Object.values(enumObject).filter((value) => typeof value === 'string') export default { component: Heading, title: 'Typography/Heading', args: { children: 'Example Heading', color: 'text', }, argTypes: { children: { control: 'text', }, color: { options: getOptions(HeadingColor), control: 'inline-radio', }, }, } as Meta export const Basic: Story = (props) => Basic.args = { size: 'md', } Basic.argTypes = { size: { options: getOptions(HeadingSize), control: 'inline-radio', }, } export const HeadingH1: Story> = (props) =>

export const HeadingH2: Story> = (props) =>

export const HeadingH3: Story> = (props) =>