mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
* Replacing deprecated constants and components * updating button component * updating snapshot * more snapshot updates * suggested changes * Fixing e2e tests * Updating deprecated components * More updates to style and layout --------- Co-authored-by: George Marshall <george.marshall@consensys.net> Co-authored-by: Garrett Bear <gwhisten@gmail.com>
25 lines
651 B
JavaScript
25 lines
651 B
JavaScript
import React from 'react';
|
|
import { Provider } from 'react-redux';
|
|
import testData from '../../../../.storybook/test-data';
|
|
import configureStore from '../../../store/store';
|
|
|
|
import DeprecatedTestNetworks from './deprecated-test-networks';
|
|
|
|
const store = configureStore({
|
|
...testData,
|
|
metamask: {
|
|
...testData.metamask,
|
|
completedOnboarding: true,
|
|
providerConfig: { chainId: '0x3' },
|
|
},
|
|
});
|
|
|
|
export default {
|
|
title: 'Components/UI/DeprecatedTestNetworks',
|
|
decorators: [(story) => <Provider store={store}>{story()}</Provider>],
|
|
};
|
|
|
|
export const DefaultStory = () => <DeprecatedTestNetworks />;
|
|
|
|
DefaultStory.storyName = 'Default';
|