Add first time flow components to Storybook (#11655)

* end of first time flow

* metametrics first time flow

* select-action

* welcome
feature/default_network_editable
Etienne Dusseault 3 years ago committed by GitHub
parent 0a472a440a
commit 28708e3a2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      ui/pages/first-time-flow/end-of-flow/end-of-flow.stories.js
  2. 15
      ui/pages/first-time-flow/metametrics-opt-in/metametrics-opt-in.stories.js
  3. 10
      ui/pages/first-time-flow/select-action/select-action.stories.js
  4. 10
      ui/pages/first-time-flow/welcome/welcome.stories.js

@ -0,0 +1,10 @@
import React from 'react';
import EndOfFlowScreen from './end-of-flow.component';
export default {
title: 'First Time Flow',
};
export const EndOfFlowComponent = () => {
return <EndOfFlowScreen />;
};

@ -0,0 +1,15 @@
import React from 'react';
import { action } from '@storybook/addon-actions';
import MetaMetricsOptIn from './metametrics-opt-in.component';
export default {
title: 'First Time Flow',
};
export const MetaMetricsOptInComponent = () => {
return (
<MetaMetricsOptIn
setParticipateInMetaMetrics={action('Participating in MetaMetrics')}
/>
);
};

@ -0,0 +1,10 @@
import React from 'react';
import SelectAction from './select-action.component';
export default {
title: 'First Time Flow',
};
export const SelectActionComponent = () => {
return <SelectAction />;
};

@ -0,0 +1,10 @@
import React from 'react';
import Welcome from './welcome.component';
export default {
title: 'First Time Flow',
};
export const WelcomeComponent = () => {
return <Welcome />;
};
Loading…
Cancel
Save