mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
29 lines
693 B
JavaScript
29 lines
693 B
JavaScript
import React from 'react';
|
|
import { Provider } from 'react-redux';
|
|
|
|
import mockState from '../../../../../test/data/mock-state.json';
|
|
import configureStore from '../../../../store/store';
|
|
|
|
import README from './README.mdx';
|
|
import ConfirmLegacyGasDisplay from './confirm-legacy-gas-display';
|
|
|
|
const store = configureStore(mockState);
|
|
|
|
export default {
|
|
title: 'Components/App/ConfirmLegacyGasDisplay',
|
|
|
|
component: ConfirmLegacyGasDisplay,
|
|
decorators: [(story) => <Provider store={store}>{story()}</Provider>],
|
|
parameters: {
|
|
docs: {
|
|
page: README,
|
|
},
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = () => {
|
|
return <ConfirmLegacyGasDisplay />;
|
|
};
|
|
|
|
DefaultStory.storyName = 'Default';
|