import React from 'react';
import { Provider } from 'react-redux';
import testData from '../../../../.storybook/test-data';
import configureStore from '../../../store/store';
import { TokenListItem } from '.';
export default {
title: 'Components/Multichain/MultichainTokenListItem',
component: TokenListItem,
argTypes: {
tokenSymbol: {
control: 'text',
},
tokenImage: {
control: 'text',
},
primary: {
control: 'text',
},
secondary: {
control: 'text',
},
title: {
control: 'text',
},
onClick: {
action: 'onClick',
},
},
args: {
secondary: '$9.80 USD',
primary: '88.0068',
tokenImage: './images/eth_logo.png',
tokenSymbol: 'ETH',
title: 'Ethereum',
},
};
const customNetworkData = {
...testData,
metamask: {
...testData.metamask,
providerConfig: {
chainId: '0x1',
},
},
};
const customNetworkStore = configureStore(customNetworkData);
const Template = (args) => {
return