1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 18:41:38 +01:00
metamask-extension/ui/components/app/detected-token/detected-token-details/detected-token-details.stories.js

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