A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ciphermask/ui/components/app/modals/export-private-key-modal/export-private-key-modal.st...

38 lines
763 B

import React from 'react';
import ExportPrivateKeyModal from '.';
export default {
title: 'Components/App/Modals/ExportPrivateKeyModal',
id: __filename,
argTypes: {
exportAccount: {
action: 'exportAccount',
},
selectedIdentity: {
control: 'object',
},
warning: {
control: 'node',
},
showAccountDetailModal: {
action: 'showAccountDetailModal',
},
hideModal: {
action: 'hideModal',
},
hideWarning: {
action: 'hideWarning',
},
clearAccountDetails: {
action: 'clearAccountDetails',
},
previousModalState: {
control: 'text',
},
},
};
export const DefaultStory = (args) => <ExportPrivateKeyModal {...args} />;
DefaultStory.storyName = 'Default';