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

package.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":["useLocation","parseQueryParams","useQueryParams","options","location","search"],"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,SAASA,WAAW,QAAQ,kBAAkB;AAC9C,SAASC,gBAAgB;AAEzB,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAGC,OAAO,EAAI;EAChC,IAAMC,QAAQ,GAAGJ,WAAW,CAAC,CAAC;EAE9B,OAAOC,gBAAgB,CAACG,QAAQ,CAACC,MAAM,EAAEF,OAAO,CAAC;AACnD,CAAC;AAED,eAAeD,cAAc","ignoreList":[]}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy