import React from 'react' ; import { Meta , Story } from '@storybook/react' ; import { action } from '@storybook/addon-actions' ; import { VerifyDialogContent as Component , Props } from './VerifyDialogContent' ; const meta = { title : 'Molecules/Dialogs/Verify/Content' , component : Component } ; export default meta ; const Template = ( args ) => < Component { ... args } / > ; export const Content = Template . bind ( { } ) ; Content . args = { dialogState : { domain : 'example.com' , challenge : '8bb1cfda-9d31-46fc-9742-72b48747a2f1' } , setDialogState : ( state ) => { action ( 'setDialogState' ) ( state ) ; } } ;