import React from 'react' ; import { Meta , Story } from '@storybook/react' ; import { SubSectionDivider , ISubSectionProps } from './SubSectionDivider' ; export default { title : 'Components/forms/SubSectionDivider' , component : SubSectionDivider } as Meta ; const Template = ( args ) => ( < SubSectionDivider { ... args } / > ) ; export const SubSectionView = Template . bind ( { } ) ; SubSectionView . args = { label : 'title' , optionalLabel : 'Optional' } ;