2021-08-31 00:59:20 +02:00
|
|
|
import React from 'react';
|
|
|
|
import { action } from '@storybook/addon-actions';
|
|
|
|
import ImportWithSeedPhrase from './import-with-seed-phrase/import-with-seed-phrase.component';
|
|
|
|
import NewAccount from './new-account';
|
|
|
|
|
|
|
|
export default {
|
2021-12-01 20:27:57 +01:00
|
|
|
title: 'Pages/FirstTimeFlow/CreatePassword',
|
2021-09-15 20:55:48 +02:00
|
|
|
id: __filename,
|
2021-08-31 00:59:20 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
export const ImportWithSeedPhraseComponent = () => {
|
|
|
|
return <ImportWithSeedPhrase onSubmit={action('Seed Phrase Imported')} />;
|
|
|
|
};
|
|
|
|
|
|
|
|
export const NewAccountComponent = () => {
|
|
|
|
return <NewAccount onSubmit={action('New Account Created')} />;
|
|
|
|
};
|