mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-05 04:59:26 +05:30
17 lines
439 B
TypeScript
17 lines
439 B
TypeScript
|
import React from 'react';
|
||
|
import { storiesOf } from '@storybook/react';
|
||
|
import { action } from '@storybook/addon-actions';
|
||
|
|
||
|
import ContactFormPopup from './ContactFormPopup';
|
||
|
|
||
|
storiesOf('Components/Popups', module).add('ContactFormPopup', () => (
|
||
|
<ContactFormPopup
|
||
|
onSubmit={(params) => {
|
||
|
action('onSubmit')(params);
|
||
|
|
||
|
return Promise.resolve();
|
||
|
}}
|
||
|
onClose={action('onClose')}
|
||
|
/>
|
||
|
));
|