mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
d1cea85f33
* Rename `provider` to `providerConfig` The network controller `provider` state has been renamed to `providerConfig`. This better reflects what this state is, and makes this controller more closely aligned with the core network controller. All references to the provider configuration have been updated to prefer `providerConfig` over `provider`, to make the distinction clear between a provider and provider config. Closes #18902 * Add migration
34 lines
755 B
JavaScript
34 lines
755 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,
|
|
rawList: false,
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <CustodyAccountList {...args} />;
|
|
|
|
DefaultStory.storyName = 'CustodyAccountList';
|