All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.cjs.react-utils.useQueryParams.useQueryParams.js.map Maven / Gradle / Ivy

Go to download

A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.

There is a newer version: 4.12.3
Show newest version
{"version":3,"file":"useQueryParams.js","names":["_reactRouterDom","require","_general","useQueryParams","options","location","useLocation","parseQueryParams","search","_default","exports"],"sources":["../../../../src/react-utils/useQueryParams/useQueryParams.js"],"sourcesContent":["import { useLocation } from \"react-router-dom\";\nimport { parseQueryParams } from \"utils/general\";\n\nconst useQueryParams = options => {\n  const location = useLocation();\n\n  return parseQueryParams(location.search, options);\n};\n\nexport default useQueryParams;\n"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAEA,IAAME,cAAc,GAAG,SAAjBA,cAAcA,CAAGC,OAAO,EAAI;EAChC,IAAMC,QAAQ,GAAG,IAAAC,2BAAW,GAAE;EAE9B,OAAO,IAAAC,yBAAgB,EAACF,QAAQ,CAACG,MAAM,EAAEJ,OAAO,CAAC;AACnD,CAAC;AAAC,IAAAK,QAAA,GAEaN,cAAc;AAAAO,OAAA,cAAAD,QAAA"}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy