UNPKG

@passflow/passflow-react-sdk

Version:
14 lines 441 B
/** * Utility for native handling of URL parameters */ /** * Get URL parameters * @param defaultValues Default values * @returns Object with methods getAll, get, set */ export declare const useUrlParams: <T extends Record<string, string>>(defaultValues?: T) => { getAll: () => Record<string, string>; get: (key: string) => string | null; set: (params: Record<string, string>) => void; }; //# sourceMappingURL=index.d.ts.map