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.
43 lines
762 B
43 lines
762 B
3 years ago
|
import React from 'react';
|
||
|
import ConfirmRemoveAccount from '.';
|
||
|
|
||
|
export default {
|
||
|
title: 'Components/App/Modals/ConfirmRemoveAccount',
|
||
|
id: __filename,
|
||
|
component: ConfirmRemoveAccount,
|
||
|
argTypes: {
|
||
|
hideModal: {
|
||
|
action: 'hideModal',
|
||
|
},
|
||
|
removeAccount: {
|
||
|
action: 'removeAccount',
|
||
|
},
|
||
|
identity: {
|
||
|
control: 'object',
|
||
|
},
|
||
|
chainId: {
|
||
|
control: 'text',
|
||
|
},
|
||
|
rpcPrefs: {
|
||
|
control: 'object',
|
||
|
},
|
||
|
},
|
||
|
args: {
|
||
|
identity: {
|
||
|
control: 'object',
|
||
|
},
|
||
|
chainId: 'chainId',
|
||
|
rpcPrefs: {
|
||
|
control: 'object',
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
|
||
|
const Template = (args) => {
|
||
|
return <ConfirmRemoveAccount {...args} />;
|
||
|
};
|
||
|
|
||
|
export const DefaultStory = Template.bind({});
|
||
|
|
||
|
DefaultStory.storyName = 'Default';
|