Files
SnowLuma/.pnpm-store/v11/files/ea/7f3eb9408ff50a81ab84b35172991c77bec3f587dbf647f9b9ca1765641f27842359c2c810527c893c5d8880bb362bdd53e2fe8786daba48805ee9e3df9cd1
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

12 lines
308 B
Plaintext

import { useMatch } from "./useMatch.js";
//#region src/useRouteContext.ts
function useRouteContext(opts) {
return useMatch({
...opts,
select: (match) => opts.select ? opts.select(match.context) : match.context
});
}
//#endregion
export { useRouteContext };
//# sourceMappingURL=useRouteContext.js.map