import { Story } from '@storybook/react' ; import Logo , { Props } from './Logo' ; export default { title : 'Portfolio/Logo' , component : Logo , } ; const Template = ( args ) => < Logo { ... args } / > ; export const Expanded = Template . bind ( { } ) ; Expanded . args = { isExpanded : true } ; export const Collapsed = Template . bind ( { } ) ; Collapsed . args = { isExpanded : false } ;