Fix/14303 show private keys (#14314)
parent
44b4b9b012
commit
c516760382
@ -0,0 +1,37 @@ |
||||
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'; |
Loading…
Reference in new issue