UNPKG

@tanstack/solid-router

Version:

Modern and scalable routing for Solid applications

17 lines (16 loc) 421 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) => { const search = match.search; return opts.select ? opts.select(search) : search; } }); } //#endregion exports.useSearch = useSearch; //# sourceMappingURL=useSearch.cjs.map