2022-03-25 20:29:16 +01:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
import DetectedTokenAddress from './detected-token-address';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
title: 'Components/App/DetectedToken/DetectedTokenAddress',
|
|
|
|
id: __filename,
|
|
|
|
argTypes: {
|
2022-06-28 15:11:19 +02:00
|
|
|
address: { control: 'text' },
|
2022-03-25 20:29:16 +01:00
|
|
|
},
|
|
|
|
args: {
|
2022-06-28 15:11:19 +02:00
|
|
|
address: '0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f',
|
2022-03-25 20:29:16 +01:00
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
const Template = (args) => {
|
2022-06-28 15:11:19 +02:00
|
|
|
return <DetectedTokenAddress address={args.address} />;
|
2022-03-25 20:29:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export const DefaultStory = Template.bind({});
|
|
|
|
|
|
|
|
DefaultStory.storyName = 'Default';
|