declare const globalSearchSource = "\nimport { DataTable } from '@jtl-software/platform-ui-react';\n\nconst App = () => {\n\n  const [searchValue, setSearchValue] = useState('');\n\n  const onSearch = async (searchValue: string) => {\n    setSearchValue(searchValue);\n\n    // Write your search logic here\n  };\n\n  return (\n    <DataTable\n      dataSource={data} // mock data\n      columns={columns}\n      tableHeight={500}\n      tableSearching={{\n        enabled: true,\n        value: searchValue,\n        placeholder: 'Search',\n        onChange: onSearch,\n      }}\n    />\n  );\n};  \n\nexport default App;\n";
export default globalSearchSource;
