1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 06:07:06 +01:00
metamask-extension/ui/pages/first-time-flow/create-password/create-password.stories.js
George Marshall 854fc71ae7
Organizing storybook to echo app folder structure (#12796)
* Organizing storybook to echo app folder structure

* Updating new stories to follow new convention from develop
2021-12-01 11:27:57 -08:00

18 lines
547 B
JavaScript

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,
};
export const ImportWithSeedPhraseComponent = () => {
return <ImportWithSeedPhrase onSubmit={action('Seed Phrase Imported')} />;
};
export const NewAccountComponent = () => {
return <NewAccount onSubmit={action('New Account Created')} />;
};