import { Meta , Story } from '@storybook/react' ; import { Banner , IBannerProps } from './Banner' ; import { Box } from './Box' ; import React from 'react' ; const Template = ( args ) => ( < Banner { ... args } > < Box > < h3 > Children elements will go here < /h3> < /Box> < /Banner>); export const BannerView = Template . bind ( { } ) ; BannerView . args = { count : 15 , text : 'Applications to register in your area' } ; export default { title : 'Components/Interface/Banner' , component : Banner } as Meta ;