2022-03-31 16:41:39 +02:00
|
|
|
import React from 'react';
|
2023-06-01 23:40:39 +02:00
|
|
|
import { networkList } from '../../../../../.storybook/test-data';
|
2022-03-31 16:41:39 +02:00
|
|
|
import CustomContentSearch from './custom-content-search';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
title: 'Pages/Settings/NetworksTab/CustomContentSearch',
|
2023-01-20 20:27:46 +01:00
|
|
|
|
2022-03-31 16:41:39 +02:00
|
|
|
argTypes: {
|
|
|
|
error: {
|
|
|
|
control: 'text',
|
|
|
|
},
|
|
|
|
searchQueryInput: {
|
|
|
|
control: 'text',
|
|
|
|
},
|
|
|
|
onSearch: {
|
|
|
|
action: 'onSearch',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export const CustomContentSearchComponent = (args) => {
|
2023-06-01 23:40:39 +02:00
|
|
|
return <CustomContentSearch {...args} networksList={networkList} />;
|
2022-03-31 16:41:39 +02:00
|
|
|
};
|