1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 07:16:36 +01:00
metamask-extension/ui/components/multichain/import-account/private-key.stories.js
David Walsh 28137798b6
UX: Multichain: Move Add Account and Import Account into Account Menu Popover (#19346)
* UX: Multichain: Move Add Account and Import Account into Account Menu Popover

* Create a new CreateAccount component for the Account Menu

* Add actions for import form

* Use separate actions for cancel vs. submit

* Fix jest tests

* Remove commented route navigation

* Accommodate for failing import

* Fix tests

* Remove routes for new account and import

* Remove old create account page

* Move import-account files to multichain directory

* Fix paths on the import files

* Remove deprecated component library variables

* Fix error property of add form

* Fix user-actions-benchmark
2023-06-13 10:07:01 -05:00

19 lines
415 B
JavaScript

import React from 'react';
import PrivateKeyImportView from './private-key';
export default {
title: 'Pages/CreateAccount/ImportAccount/PrivateKeyImportView',
component: PrivateKeyImportView,
argTypes: {
importAccountFunc: {
control: {
type: 'function',
},
},
},
};
export const DefaultStory = (args) => <PrivateKeyImportView {...args} />;
DefaultStory.storyName = 'Default';