Fix/14303 show private keys (#14314)
parent
94378c773d
commit
a499d0f045
@ -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