import { Meta , Story } from '@storybook/react' ; import { LabelValuePair } from '.' ; import React from 'react' ; interface ILabelValuePairProps { label : string ; value : string ; } export default { title : 'Components/Interface/ViewData/LabelValuePair' , component : LabelValuePair } as Meta ; const Template = ( args ) => ( < LabelValuePair { ... args } / > ) ; export const LabelValuePairView = Template . bind ( { } ) ; LabelValuePairView . args = { label : 'Percentage of Female Birth Applications' , value : '25%' } ;