synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
6 lines • 366 B
TypeScript
/**
* React hook that can be used to access the current state of window.location.search.
* Only use this when you cannot use an equivalent hook provided by a routing library (e.g. react-router)
*/
export declare const useNativeSearchParams: (param: string) => [string | null, (newValue: string | null) => void];
//# sourceMappingURL=useNativeSearchParams.d.ts.map