Skip to content

Commit 75f57ff

Browse files
committed
Update components.tsx
1 parent 5784762 commit 75f57ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import type { JSX } from "solid-js";
33
import { createMemo, mergeProps, splitProps } from "solid-js";
44
import {
5+
RouterContextObj,
56
useHref,
67
useLocation,
78
useNavigate,
@@ -13,6 +14,8 @@ import type {
1314
} from "./types.js";
1415
import { normalizePath } from "./utils.js";
1516

17+
export { RouterContextObj as RouterContext };
18+
1619
declare module "solid-js" {
1720
namespace JSX {
1821
interface AnchorHTMLAttributes<T> {

0 commit comments

Comments
 (0)