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
691 B
24 lines
691 B
3 years ago
|
import React from 'react';
|
||
|
import {
|
||
|
MetaMetricsProvider,
|
||
|
LegacyMetaMetricsProvider,
|
||
|
} from '../ui/contexts/metametrics';
|
||
|
import {
|
||
|
MetaMetricsProvider as NewMetaMetricsProvider,
|
||
|
LegacyMetaMetricsProvider as NewLegacyMetaMetricsProvider,
|
||
|
} from '../ui/contexts/metametrics.new';
|
||
|
|
||
|
const MetaMetricsProviderStorybook = (props) =>
|
||
|
(
|
||
|
<MetaMetricsProvider>
|
||
|
<LegacyMetaMetricsProvider>
|
||
|
<NewMetaMetricsProvider>
|
||
|
<NewLegacyMetaMetricsProvider>
|
||
|
{props.children}
|
||
|
</NewLegacyMetaMetricsProvider>
|
||
|
</NewMetaMetricsProvider>
|
||
|
</LegacyMetaMetricsProvider>
|
||
|
</MetaMetricsProvider>
|
||
|
);
|
||
|
|
||
|
export default MetaMetricsProviderStorybook
|