Skip to content

Commit 648c6fc

Browse files
committed
fix(reactant-router): re-export types
1 parent aeadb1d commit 648c6fc

File tree

1 file changed

+9
-6
lines changed
  • packages/reactant-router-dom/src

1 file changed

+9
-6
lines changed

packages/reactant-router-dom/src/index.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,19 @@ export {
1010
useLocation,
1111
generatePath,
1212
Prompt,
13-
RedirectProps,
1413
Redirect,
15-
RouteChildrenProps,
16-
RouteComponentProps,
17-
RouteProps,
1814
Router,
1915
StaticRouter,
20-
SwitchProps,
21-
match,
2216
matchPath,
2317
withRouter,
18+
} from 'react-router-dom';
19+
20+
export type {
21+
RedirectProps,
22+
RouteChildrenProps,
23+
RouteComponentProps,
24+
SwitchProps,
25+
match,
2426
RouterChildContext,
27+
RouteProps,
2528
} from 'react-router-dom';

0 commit comments

Comments
 (0)