1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 04:37:13 +01:00
metamask-extension/ui/pages/swaps/searchable-item-list/list-item-search/list-item-search.stories.js

38 lines
669 B
JavaScript
Raw Normal View History

2022-03-25 15:22:56 +01:00
import React from 'react';
import ListItemSearch from '.';
export default {
title: 'Pages/Swaps/SearchableItemList/ListItemSearch',
id: __filename,
argTypes: {
onSearch: {
action: 'onSearch',
},
error: {
control: 'text',
},
listToSearch: {
control: 'select',
},
fuseSearchKeys: {
control: 'select',
},
searchPlaceholderText: {
control: 'text',
},
defaultToAll: {
control: 'boolean',
},
shouldSearchForImports: {
control: 'boolean',
},
},
};
export const DefaultStory = (args) => {
return <ListItemSearch {...args} />;
};
DefaultStory.storyName = 'Default';