1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 06:07:06 +01:00
metamask-extension/ui/components/app/detected-token/detected-token-address/detected-token-address.stories.js

23 lines
473 B
JavaScript
Raw Normal View History

import React from 'react';
import DetectedTokenAddress from './detected-token-address';
export default {
title: 'Components/App/DetectedToken/DetectedTokenAddress',
argTypes: {
2022-05-09 19:47:06 +02:00
tokenAddress: { control: 'text' },
},
args: {
2022-05-09 19:47:06 +02:00
tokenAddress: '0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f',
},
};
const Template = (args) => {
2022-05-09 19:47:06 +02:00
return <DetectedTokenAddress {...args} />;
};
export const DefaultStory = Template.bind({});
DefaultStory.storyName = 'Default';