import { P as e } from "../../../../packageName-CJwD6mUt.js";
const r = `
import { DataTable } from '${e}';

const App = () => {

  const [searchValue, setSearchValue] = useState('');

  const onSearch = async (searchValue: string) => {
    setSearchValue(searchValue);

    // Write your search logic here
  };

  return (
    <DataTable
      dataSource={data} // mock data
      columns={columns}
      tableHeight={500}
      tableSearching={{
        enabled: true,
        value: searchValue,
        placeholder: 'Search',
        onChange: onSearch,
      }}
    />
  );
};  

export default App;
`;
export {
  r as default
};
//# sourceMappingURL=globalSearchSource.js.map
