UNPKG

@tanstack/solid-router

Version:

Modern and scalable routing for Solid applications

16 lines (15 loc) 401 B
const require_useMatch = require("./useMatch.cjs"); //#region src/useSearch.tsx function useSearch(opts) { return require_useMatch.useMatch({ from: opts.from, strict: opts.strict, shouldThrow: opts.shouldThrow, select: (match) => { return opts.select ? opts.select(match.search) : match.search; } }); } //#endregion exports.useSearch = useSearch; //# sourceMappingURL=useSearch.cjs.map