1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 11:28:51 +01:00
metamask-extension/ui/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.stories.js
George Marshall 854fc71ae7
Organizing storybook to echo app folder structure (#12796)
* Organizing storybook to echo app folder structure

* Updating new stories to follow new convention from develop
2021-12-01 11:27:57 -08:00

19 lines
426 B
JavaScript

import React from 'react';
import { action } from '@storybook/addon-actions';
import MetaMetricsOptIn from './metametrics-opt-in.component';
export default {
title: 'Pages/FirstTimeFlow/MetametricsOptIn',
id: __filename,
};
export const DefaultStory = () => {
return (
<MetaMetricsOptIn
setParticipateInMetaMetrics={action('Participating in MetaMetrics')}
/>
);
};
DefaultStory.storyName = 'Default';