mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
import token (#11657)
This commit is contained in:
parent
28708e3a2e
commit
8d22dc4470
22
ui/pages/swaps/import-token/import-token.stories.js
Normal file
22
ui/pages/swaps/import-token/import-token.stories.js
Normal file
@ -0,0 +1,22 @@
|
||||
import React from 'react';
|
||||
import { action } from '@storybook/addon-actions';
|
||||
import ImportToken from './import-token';
|
||||
|
||||
export default {
|
||||
title: 'Import Token',
|
||||
};
|
||||
|
||||
export const ImportTokenComponent = () => {
|
||||
const data = {
|
||||
iconUrl: './BAT_icon.svg',
|
||||
name: 'Basic Attention Token',
|
||||
symbol: 'BAT',
|
||||
address: '0x0d8775f648430679a709e98d2b0cb6250d2887ef',
|
||||
};
|
||||
return (
|
||||
<ImportToken
|
||||
tokenForImport={data}
|
||||
onImportTokenClick={action('Token Imported')}
|
||||
/>
|
||||
);
|
||||
};
|
Loading…
Reference in New Issue
Block a user