import { ComponentStory , ComponentMeta } from '@storybook/react' ; import { PageSection } from './PageSection' ; export default { title : 'Components/PageSection' , component : PageSection , parameters : { layout : 'fullscreen' , } , } as ComponentMeta < typeof PageSection > ; const Template = ( args ) => < PageSection { ... args } / > ; export const Default = Template . bind ( { } ) ; Default . args = { title : 'Asian' , children : < h1 > Hello Dummy Content < / h1 > , } ; export const WithButtons = Template . bind ( { } ) ; WithButtons . args = { ... Default . args , title : 'Asian' , } ;