mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
49f01406c4
* Added confirm-remove-jwt component * changing folder directory * Fixed lint issues * Added story * Fixed confirm remove jwt imports * Fixed import * Finished implementing component * Fixed capitalize eslint problem * Fixed PR suggestions * Changed CustodyAccountList import * updated snapshot * Fixed typo * Moved folder to confirm-remove-jwt-modal * added index * Adding filter first
32 lines
808 B
JavaScript
32 lines
808 B
JavaScript
import React from 'react';
|
|
import ConfirmRemoveJWT from '.';
|
|
|
|
export default {
|
|
title: 'Components/Institutional/ConfirmRemoveJWT',
|
|
component: ConfirmRemoveJWT,
|
|
args: {
|
|
hideModal: () => {
|
|
/**/
|
|
},
|
|
removeAccount: () => {
|
|
/**/
|
|
},
|
|
token: { address: '0xaD6D458402F60fD3Bd25163575031ACDce07538D' },
|
|
custodyAccountDetails: [
|
|
{
|
|
address: '0xaD6D458402F60fD3Bd25163575031ACDce07538D',
|
|
name: 'Test name account',
|
|
labels: [],
|
|
authDetails: { token: '0xaD6D458402F60fD3Bd25163575031ACDce07538D' },
|
|
},
|
|
],
|
|
accounts: [
|
|
{ address: '0xaD6D458402F60fD3Bd25163575031ACDce07538D', balance: '0x0' },
|
|
],
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <ConfirmRemoveJWT {...args} />;
|
|
|
|
DefaultStory.storyName = 'ConfirmRemoveJWT';
|