mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
35 lines
777 B
JavaScript
35 lines
777 B
JavaScript
import React from 'react';
|
|
import CustodyAccountList from '.';
|
|
|
|
const testAccounts = [
|
|
{
|
|
address: '0x1234567890123456789012345678901234567890',
|
|
name: 'Test Account 1',
|
|
chainId: 1,
|
|
},
|
|
{
|
|
address: '0x0987654321098765432109876543210987654321',
|
|
name: 'Test Account 2',
|
|
chainId: 1,
|
|
},
|
|
];
|
|
|
|
export default {
|
|
title: 'Pages/Institutional/CustodyAccountList',
|
|
component: CustodyAccountList,
|
|
args: {
|
|
custody: 'Test',
|
|
accounts: testAccounts,
|
|
onAccountChange: () => undefined,
|
|
selectedAccounts: {},
|
|
onAddAccounts: () => undefined,
|
|
onCancel: () => undefined,
|
|
provider: 'Test',
|
|
rawList: false,
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <CustodyAccountList {...args} />;
|
|
|
|
DefaultStory.storyName = 'CustodyAccountList';
|