Files
med-notes/.pnpm-store/v10/files/ee/90133f53375a11518770a345620e67d8c416421718cfd7b37dd31cd4159a8277af44f5a3b76b8317d4288bf784c44a1050cf70448050ddf1a0cc8cc35f3e24
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 useParams(opts) {
return useMatch.useMatch({
from: opts.from,
strict: opts.strict,
shouldThrow: opts.shouldThrow,
structuralSharing: opts.structuralSharing,
select: (match) => {
return opts.select ? opts.select(match.params) : match.params;
}
});
}
exports.useParams = useParams;
//# sourceMappingURL=useParams.cjs.map