import { Meta , Story } from '@storybook/react' ; import { StatusGray } from '../icons' ; import { Chip } from './Chip' ; import React from 'react' ; interface IProps { status : JSX . Element ; text : string ; } const Template = ( args ) => < Chip { ... args } / > ; export const ChipView = Template . bind ( { } ) ; ChipView . args = { status : < StatusGray />, text : 'Birth' } ; export default { title : 'Components/Interface/Chip' , component : Chip } as Meta ;