1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/pages/settings/networks-tab/custom-content-search/custom-content-search.stories.js
Suryansh Anand 20fe6fcad4
Fix/storybook console cleanup (#19244)
* Fix: Fix storybook console error of networkList not being found when passed to createStore

* Fix: Remove unused testData imports
2023-06-01 14:40:39 -07:00

24 lines
530 B
JavaScript

import React from 'react';
import { networkList } from '../../../../../.storybook/test-data';
import CustomContentSearch from './custom-content-search';
export default {
title: 'Pages/Settings/NetworksTab/CustomContentSearch',
argTypes: {
error: {
control: 'text',
},
searchQueryInput: {
control: 'text',
},
onSearch: {
action: 'onSearch',
},
},
};
export const CustomContentSearchComponent = (args) => {
return <CustomContentSearch {...args} networksList={networkList} />;
};