You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
589 B
24 lines
589 B
import React from 'react';
|
|
import { Provider } from 'react-redux';
|
|
import testData from '../../../../.storybook/test-data';
|
|
import configureStore from '../../../store/store';
|
|
import BetaHeader from '.';
|
|
|
|
const store = configureStore({
|
|
...testData,
|
|
metamask: { ...testData.metamask, isUnlocked: true, showBetaHeader: true },
|
|
});
|
|
|
|
export default {
|
|
title: 'Components/App/BetaHeader',
|
|
decorators: [(story) => <Provider store={store}>{story()}</Provider>],
|
|
id: __filename,
|
|
};
|
|
|
|
export const DefaultStory = () => (
|
|
<>
|
|
<BetaHeader />
|
|
</>
|
|
);
|
|
|
|
DefaultStory.storyName = 'Default';
|
|
|