import React from 'react';
import { withKnobs } from '@storybook/addon-knobs';
import { DummyMoudle } from '../app';
import { useModal, Toast } from '@janda-com/front';
import "../scss/app.scss";
const { SenderModal } = DummyMoudle;

export const standard = () => {
	const modalHook = useModal(true);
	return (
		<div id="root">
			<SenderModal modalHook={modalHook} />
			<Toast />
		</div>
	);
};

export default {
	title: 'SenderRegistModal',
	component: standard,
	decorators: [withKnobs]
};

standard.story = {
	name: 'standard'
};
