mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
23 lines
607 B
JavaScript
23 lines
607 B
JavaScript
|
import React from 'react';
|
||
|
import { Provider } from 'react-redux';
|
||
|
import configureStore from '../../../store/store';
|
||
|
import testData from '../../../../.storybook/test-data';
|
||
|
import ComplianceModal from '.';
|
||
|
|
||
|
const store = configureStore(testData);
|
||
|
|
||
|
export default {
|
||
|
title: 'Components/Institutional/ComplianceModal',
|
||
|
decorators: [(story) => <Provider store={store}>{story()}</Provider>],
|
||
|
component: ComplianceModal,
|
||
|
argTypes: {
|
||
|
onClick: {
|
||
|
action: 'onClick',
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export const DefaultStory = (args) => <ComplianceModal {...args} />;
|
||
|
|
||
|
DefaultStory.storyName = 'ComplianceModal';
|