1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-04 15:14:29 +01:00
metamask-extension/ui/components/app/modals/confirm-remove-account/confirm-remove-account.stories.js

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';