accounts-frontend/packages/app/components/profile/deleteAccount/DeleteAccount.story.tsx

18 lines
479 B
TypeScript
Raw Permalink Normal View History

import React from 'react';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { ProfileLayout } from 'app/components/profile/Profile.story';
import DeleteAccount from './DeleteAccount';
storiesOf('Components/Profile', module).add('DeleteAccount', () => (
<ProfileLayout>
<DeleteAccount
2020-08-04 16:18:16 +05:30
onSubmit={async () => {
action('onSubmit')();
}}
/>
</ProfileLayout>
));