import { Story, Meta } from '@storybook/react' import { ChipProps, ChipVariant } from './types' import Chip from './Chip' const getOptions = (enumObject: Record) => Object.values(enumObject).filter((value) => typeof value === 'string') export default { component: Chip, title: 'Controls/Chip', args: { interactive: false, children: 'Lido', variant: 'positive', }, argTypes: { variant: { options: getOptions(ChipVariant), control: 'inline-radio', }, }, } as Meta export const Basic: Story = (props, options) => ( void 0 : undefined} /> )