mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
24 lines
691 B
JavaScript
24 lines
691 B
JavaScript
|
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
|