You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
558 B
25 lines
558 B
import React from 'react';
|
|
import { action } from '@storybook/addon-actions';
|
|
import ImportToken from './import-token';
|
|
|
|
export default {
|
|
title: 'Pages/Swaps/ImportToken',
|
|
id: __filename,
|
|
};
|
|
|
|
export const DefaultStory = () => {
|
|
const data = {
|
|
iconUrl: './BAT_icon.svg',
|
|
name: 'Basic Attention Token',
|
|
symbol: 'BAT',
|
|
address: '0x0d8775f648430679a709e98d2b0cb6250d2887ef',
|
|
};
|
|
return (
|
|
<ImportToken
|
|
tokenForImport={data}
|
|
onImportTokenClick={action('Token Imported')}
|
|
/>
|
|
);
|
|
};
|
|
|
|
DefaultStory.storyName = 'Default';
|
|
|