1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-03 14:44:27 +01:00
metamask-extension/ui/components/app/detected-token/detected-token-details/detected-token-details.stories.js
Mark Stacey 925a19fa4a Revert "Merge pull request #14912 from MetaMask/Version-v10.16.0"
This reverts commit f09ab88891, reversing
changes made to effc761e0e.

This is being temporarily reverted to make it easier to release an
urgent fix for v10.15.1.
2022-06-28 10:41:47 -02:30

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