2021-08-31 01:00:47 +02:00
|
|
|
import React from 'react';
|
|
|
|
import ImportToken from './import-token';
|
|
|
|
|
|
|
|
export default {
|
2021-12-01 20:27:57 +01:00
|
|
|
title: 'Pages/Swaps/ImportToken',
|
2023-07-26 17:48:31 +02:00
|
|
|
argTypes: {
|
|
|
|
onImportTokenClick: { action: 'Token Imported' },
|
|
|
|
isOpen: { control: 'boolean' },
|
|
|
|
tokenForImport: {
|
|
|
|
control: 'object',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
args: {
|
|
|
|
isOpen: true,
|
|
|
|
tokenForImport: {
|
|
|
|
iconUrl: './BAT_icon.svg',
|
|
|
|
name: 'Basic Attention Token',
|
|
|
|
symbol: 'BAT',
|
|
|
|
address: '0x0d8775f648430679a709e98d2b0cb6250d2887ef',
|
|
|
|
},
|
|
|
|
},
|
2021-08-31 01:00:47 +02:00
|
|
|
};
|
|
|
|
|
2023-07-26 17:48:31 +02:00
|
|
|
export const DefaultStory = (args) => <ImportToken {...args} />;
|
2021-12-01 20:27:57 +01:00
|
|
|
|
|
|
|
DefaultStory.storyName = 'Default';
|