import { Meta , Story } from '@storybook/react' ; import { EventTopBar , IEventTopBarProps } from './EventTopBar' ; import React from 'react' ; const Template = ( args ) => < EventTopBar { ... args } / > ; export const EventTopBarView = Template . bind ( { } ) ; EventTopBarView . args = { id : 'Event Top Bar' , title : 'Event Title' } ; export default { title : 'Components/Interface/EventTopBar' , component : EventTopBar } as Meta ;