1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 22:24:27 +01:00
metamask-extension/ui/pages/first-time-flow/create-password/create-password.stories.js

18 lines
547 B
JavaScript
Raw Normal View History

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 {
title: 'Pages/FirstTimeFlow/CreatePassword',
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')} />;
};