Files
med-notes/.pnpm-store/v10/files/6f/5ffa1f6d6c0246c37f700d7fa0c1f2baf1e16b322ec9eb5008d1b3d30cce47d2e4d8ad4ba68d1acdcff86e9ad72e9ed9345f1d63e63f6224a1e076dae81bcb
2025-05-09 05:30:08 +02:00

17 lines
493 B
Plaintext

"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const useMatch = require("./useMatch.cjs");
function useSearch(opts) {
return useMatch.useMatch({
from: opts.from,
strict: opts.strict,
shouldThrow: opts.shouldThrow,
structuralSharing: opts.structuralSharing,
select: (match) => {
return opts.select ? opts.select(match.search) : match.search;
}
});
}
exports.useSearch = useSearch;
//# sourceMappingURL=useSearch.cjs.map