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

38 lines
652 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',
2022-03-25 15:22:56 +01:00
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';