mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
300bfd6e69
* adds component, styles and storybook file * wip * prettier and adds test * prettier * lint * review fix * lint * updates to IconSize, IconName
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';
|