Add working but unstyled notify registration modal
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import React from 'react';
|
||||
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
||||
import BrowserNotifyModal from '../components/modals/BrowserNotifyModal';
|
||||
import { RecoilRoot } from 'recoil';
|
||||
import BrowserNotifyModal from '../components/modals/BrowserNotify/BrowserNotifyModal';
|
||||
import BrowserNotifyModalMock from './assets/mocks/notify-modal.png';
|
||||
|
||||
const Example = () => (
|
||||
@@ -32,7 +33,11 @@ export default {
|
||||
} as ComponentMeta<typeof BrowserNotifyModal>;
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const Template: ComponentStory<typeof BrowserNotifyModal> = args => <Example />;
|
||||
const Template: ComponentStory<typeof BrowserNotifyModal> = args => (
|
||||
<RecoilRoot>
|
||||
<Example />
|
||||
</RecoilRoot>
|
||||
);
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
export const Basic = Template.bind({});
|
||||
|
||||
Reference in New Issue
Block a user