mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-27 07:20:23 +05:30
82abe0a746
Split popups controllers into separate components Implemented storybooks for all project's popups
10 lines
354 B
TypeScript
10 lines
354 B
TypeScript
import React from 'react';
|
|
import { storiesOf } from '@storybook/react';
|
|
import { action } from '@storybook/addon-actions';
|
|
|
|
import SuccessContactFormPopup from './SuccessContactFormPopup';
|
|
|
|
storiesOf('Components/Popups', module).add('SuccessContactFormPopup', () => (
|
|
<SuccessContactFormPopup email="email@ely.by" onClose={action('onClose')} />
|
|
));
|