mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
4b2c777862
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
27 lines
606 B
JavaScript
27 lines
606 B
JavaScript
import React from 'react';
|
|
import ImportToken from './import-token';
|
|
|
|
export default {
|
|
title: 'Pages/Swaps/ImportToken',
|
|
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',
|
|
},
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <ImportToken {...args} />;
|
|
|
|
DefaultStory.storyName = 'Default';
|