Add first time flow components to Storybook (#11655)
* end of first time flow * metametrics first time flow * select-action * welcomefeature/default_network_editable
parent
0a472a440a
commit
28708e3a2e
@ -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…
Reference in new issue