import { Meta , Story } from '@storybook/react' ; import { ExpandableNotification } from './ExpandableNotification' ; import React from 'react' ; export default { title : 'Components/Interface/ExpandableNotification/ExpandableNotification' , component : ExpandableNotification } as Meta ; interface IProps { processingText : string ; outboxText : string ; expand : boolean ; } const Template = ( args ) => < ExpandableNotification { ... args } / > ; export const ExNotificationViewView = Template . bind ( { } ) ; ExNotificationViewView . args = { processingText : 'Birth List' , outboxText : 'Outbox' , expand : false } ;