mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 23:58:06 +01:00
23 lines
485 B
JavaScript
23 lines
485 B
JavaScript
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';
|