1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 06:07:06 +01:00
metamask-extension/ui/pages/import-token/token-search/token-search.stories.js

23 lines
468 B
JavaScript
Raw Normal View History

2021-08-31 01:04:05 +02:00
import React from 'react';
import testData from '../../../../.storybook/test-data';
2021-08-31 01:04:05 +02:00
import TokenSearch from './token-search.component';
export default {
title: 'Pages/ImportToken/TokenSearch',
argTypes: {
error: {
control: 'text',
},
onSearch: {
action: 'onSearch',
},
},
2021-08-31 01:04:05 +02:00
};
export const DefaultStory = (args) => {
return <TokenSearch {...args} tokenList={testData.metamask.tokenList} />;
2021-08-31 01:04:05 +02:00
};
DefaultStory.storyName = 'Default';