mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
21 lines
460 B
JavaScript
21 lines
460 B
JavaScript
|
import React from 'react';
|
||
|
import testData from '../../../../.storybook/test-data';
|
||
|
import { AccountDetails } from './account-details';
|
||
|
|
||
|
const [, address] = Object.keys(testData.metamask.identities);
|
||
|
|
||
|
export default {
|
||
|
title: 'Components/Multichain/AccountDetails',
|
||
|
component: AccountDetails,
|
||
|
argTypes: {
|
||
|
address: {
|
||
|
control: 'text',
|
||
|
},
|
||
|
},
|
||
|
args: {
|
||
|
address,
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export const DefaultStory = (args) => <AccountDetails {...args} />;
|