mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 10:30:04 +01:00
d362dbfacb
* updated ethereum logo icon * Updating eth logo (#18631) * Updating eth logo * Removing border from eth logo identicon * Removing old eth logo * updated snapshot and lint errors * updated eth logo from svg to png --------- Co-authored-by: George Marshall <george.marshall@consensys.net>
52 lines
946 B
JavaScript
52 lines
946 B
JavaScript
import React from 'react';
|
|
import AssetListItem from '.';
|
|
|
|
export default {
|
|
title: 'Components/App/AssetListItem',
|
|
argTypes: {
|
|
className: {
|
|
control: 'text',
|
|
},
|
|
iconClassName: {
|
|
control: 'text',
|
|
},
|
|
onClick: {
|
|
action: 'onClick',
|
|
},
|
|
tokenAddress: {
|
|
control: 'text',
|
|
},
|
|
tokenSymbol: {
|
|
control: 'text',
|
|
},
|
|
tokenDecimals: {
|
|
control: 'number',
|
|
},
|
|
tokenImage: {
|
|
control: 'text',
|
|
},
|
|
warning: {
|
|
control: 'text',
|
|
},
|
|
primary: {
|
|
control: 'text',
|
|
},
|
|
secondary: {
|
|
control: 'text',
|
|
},
|
|
isERC721: {
|
|
control: 'boolean',
|
|
},
|
|
},
|
|
args: {
|
|
tokenAddress: '0x2170ed0880ac9a755fd29b2688956bd959f933f8',
|
|
tokenSymbol: 'ETH',
|
|
tokenImage: './images/eth_logo.png',
|
|
identiconBorder: true,
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <AssetListItem {...args} />;
|
|
|
|
DefaultStory.storyName = 'Default';
|