next-query-params
Version:
Convenient state management of query parameters in Next.js apps.
10 lines (9 loc) • 528 B
TypeScript
import { ReactElement } from 'react';
import { QueryParamAdapter } from 'use-query-params';
declare type Props = {
shallow?: boolean;
children(adapter: QueryParamAdapter): ReactElement | null;
};
declare function NextAdapter({ children, shallow }: Props): ReactElement<any, string | ((props: any) => ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | null;
declare const _default: import("react").MemoExoticComponent<typeof NextAdapter>;
export default _default;