mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-28 23:06:37 +01:00
36be38e979
* Updating import paths for Text component * Updating snapshots * Adding story for TokenCell * Updating banner in account details * Fixing lint issue by removing unused import
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';
|