mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +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';
|