1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 23:58:06 +01:00

Add first time flow components to Storybook (#11655)

* end of first time flow

* metametrics first time flow

* select-action

* welcome
This commit is contained in:
Etienne Dusseault 2021-08-30 17:59:56 -05:00 committed by GitHub
parent 0a472a440a
commit 28708e3a2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 45 additions and 0 deletions

View File

@ -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 />;
};

View File

@ -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')}
/>
);
};

View File

@ -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 />;
};

View File

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