2022-08-23 17:52:08 +02:00
|
|
|
import React from 'react';
|
|
|
|
import NetworkAccountBalanceHeader from './network-account-balance-header';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
title: 'Components/App/NetworkAccountBalanceHeader',
|
2023-01-20 20:27:46 +01:00
|
|
|
|
2022-08-23 17:52:08 +02:00
|
|
|
argTypes: {
|
|
|
|
networkName: {
|
|
|
|
control: { type: 'text' },
|
|
|
|
},
|
|
|
|
accountName: {
|
|
|
|
control: { type: 'text' },
|
|
|
|
},
|
|
|
|
accountBalance: {
|
2022-09-21 16:15:34 +02:00
|
|
|
control: { type: 'text' },
|
2022-08-23 17:52:08 +02:00
|
|
|
},
|
|
|
|
tokenName: {
|
|
|
|
control: { type: 'text' },
|
|
|
|
},
|
|
|
|
accountAddress: {
|
|
|
|
control: { type: 'text' },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
args: {
|
|
|
|
networkName: 'Ethereum Network',
|
|
|
|
accountName: 'Account 1',
|
2022-09-21 16:15:34 +02:00
|
|
|
accountBalance: '200.12',
|
2022-08-23 17:52:08 +02:00
|
|
|
tokenName: 'DAI',
|
|
|
|
accountAddress: '0x5CfE73b6021E818B776b421B1c4Db2474086a7e1',
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export const DefaultStory = (args) => {
|
|
|
|
return <NetworkAccountBalanceHeader {...args} />;
|
|
|
|
};
|
|
|
|
|
|
|
|
DefaultStory.storyName = 'Default';
|