1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/ui/pages/import-token/token-search/token-search.stories.js

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';