mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-26 06:59:53 +05:30
21 lines
588 B
TypeScript
21 lines
588 B
TypeScript
import React from 'react';
|
|
import { storiesOf } from '@storybook/react';
|
|
import { action } from '@storybook/addon-actions';
|
|
|
|
import { ProfileLayout } from 'app/components/profile/Profile.story';
|
|
|
|
import AccountDeleted from './AccountDeleted';
|
|
|
|
storiesOf('Components/Profile', module).add('AccountDeleted', () => (
|
|
<ProfileLayout>
|
|
<AccountDeleted
|
|
onRestore={() =>
|
|
new Promise((resolve) => {
|
|
action('onRestore')();
|
|
setTimeout(resolve, 500);
|
|
})
|
|
}
|
|
/>
|
|
</ProfileLayout>
|
|
));
|