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.
37 lines
763 B
37 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';
|
|
|