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