mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 11:28:51 +01:00
854fc71ae7
* Organizing storybook to echo app folder structure * Updating new stories to follow new convention from develop
18 lines
547 B
JavaScript
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')} />;
|
|
};
|