UNPKG

@tanstack/solid-router

Version:

Modern and scalable routing for Solid applications

12 lines 351 B
import { useMatch } from './useMatch'; export function useSearch(opts) { return useMatch({ from: opts.from, strict: opts.strict, shouldThrow: opts.shouldThrow, select: (match) => { return opts.select ? opts.select(match.search) : match.search; }, }); } //# sourceMappingURL=useSearch.jsx.map