mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-04 23:14:56 +01:00
43 lines
762 B
JavaScript
43 lines
762 B
JavaScript
|
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';
|