mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 14:15:06 +01:00
24 lines
549 B
JavaScript
24 lines
549 B
JavaScript
|
import React from 'react';
|
||
|
import testData from '../../../../../.storybook/test-data';
|
||
|
import CustomContentSearch from './custom-content-search';
|
||
|
|
||
|
export default {
|
||
|
title: 'Pages/Settings/NetworksTab/CustomContentSearch',
|
||
|
id: __filename,
|
||
|
argTypes: {
|
||
|
error: {
|
||
|
control: 'text',
|
||
|
},
|
||
|
searchQueryInput: {
|
||
|
control: 'text',
|
||
|
},
|
||
|
onSearch: {
|
||
|
action: 'onSearch',
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export const CustomContentSearchComponent = (args) => {
|
||
|
return <CustomContentSearch {...args} networksList={testData.networkList} />;
|
||
|
};
|