UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

6 lines 366 B
/** * 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