mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 21:57:06 +01:00
34 lines
578 B
JavaScript
34 lines
578 B
JavaScript
|
import React from 'react';
|
||
|
import TokenListItem from '.';
|
||
|
|
||
|
export default {
|
||
|
title: 'Components/App/TokenCell',
|
||
|
argTypes: {
|
||
|
address: {
|
||
|
control: 'text',
|
||
|
},
|
||
|
symbol: {
|
||
|
control: 'text',
|
||
|
},
|
||
|
string: {
|
||
|
control: 'text',
|
||
|
},
|
||
|
onClick: {
|
||
|
action: 'onClick',
|
||
|
},
|
||
|
image: {
|
||
|
control: 'text',
|
||
|
},
|
||
|
},
|
||
|
args: {
|
||
|
address: '0xAnotherToken',
|
||
|
symbol: 'TEST',
|
||
|
string: '5.000',
|
||
|
currentCurrency: 'usd',
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export const DefaultStory = (args) => <TokenListItem {...args} />;
|
||
|
|
||
|
DefaultStory.storyName = 'Default';
|