1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 15:50:28 +01:00
metamask-extension/ui/pages/swaps/searchable-item-list/list-item-search/list-item-search.stories.js
2022-03-25 15:22:56 +01:00

38 lines
669 B
JavaScript

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