1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 04:46:10 +01:00
metamask-extension/ui/components/app/asset-list-item/asset-list-item.stories.js

52 lines
946 B
JavaScript
Raw Normal View History

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';