import React from 'react'; import { Meta, Story } from '@storybook/react'; import Button from '@material-ui/core/Button'; import { action } from '@storybook/addon-actions'; import { FullscreenDialog as Component, Props, } from '../../../atoms/FullscreenDialog'; import { CapturePasswordDialogContent } from '../../../atoms/CapturePasswordDialog/CapturePasswordDialogContent'; import { seedToId, passwordToKey } from '../../../__fixtures__/wallet'; const meta: Meta = { title: 'Molecules/Dialogs/Export/Dialog', component: Component, }; export default meta; const Template: Story = (args) => ; export const Dialog = Template.bind({}); Dialog.args = { dialogTrigger: , dialogTitle: 'Export', dialogSubmitTitle: 'Export', dialogContent: ( { action('setDialogState')(state); }} /> ), handleSubmit: async () => { action('handleSubmit')(); }, handleCancel: async () => { action('handleCancel')(); }, };