import React from 'react' ; import { Story , Meta } from '@storybook/react' ; import { ExpansionButton , IExpansionButtonProps } from './ExpansionButton' ; const Template = ( args ) => ( < ExpansionButton { ... args } / > ) ; export default { title : 'Components/Buttons/ExpansionButton' , component : ExpansionButton } as Meta ; export const SampleExpansionButton = Template . bind ( { } ) ; SampleExpansionButton . args = { expanded : true } ;