mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-03 14:44:27 +01:00
925a19fa4a
This reverts commitf09ab88891
, reversing changes made toeffc761e0e
. This is being temporarily reverted to make it easier to release an urgent fix for v10.15.1.
27 lines
558 B
JavaScript
27 lines
558 B
JavaScript
import React from 'react';
|
|
|
|
import DetectedTokenDetails from './detected-token-details';
|
|
|
|
export default {
|
|
title: 'Components/App/DetectedToken/DetectedTokenDetails',
|
|
id: __filename,
|
|
argTypes: {
|
|
address: { control: 'text' },
|
|
},
|
|
args: {
|
|
address: '0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f',
|
|
},
|
|
};
|
|
|
|
const Template = (args) => {
|
|
return (
|
|
<div style={{ width: '320px' }}>
|
|
<DetectedTokenDetails tokenAddress={args.address} />
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export const DefaultStory = Template.bind({});
|
|
|
|
DefaultStory.storyName = 'Default';
|