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.
22 lines
485 B
22 lines
485 B
import React from 'react';
|
|
import testData from '../../../../.storybook/test-data';
|
|
import TokenSearch from './token-search.component';
|
|
|
|
export default {
|
|
title: 'Pages/ImportToken/TokenSearch',
|
|
id: __filename,
|
|
argTypes: {
|
|
error: {
|
|
control: 'text',
|
|
},
|
|
onSearch: {
|
|
action: 'onSearch',
|
|
},
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => {
|
|
return <TokenSearch {...args} tokenList={testData.metamask.tokenList} />;
|
|
};
|
|
|
|
DefaultStory.storyName = 'Default';
|
|
|