File tree Expand file tree Collapse file tree 2 files changed +42
-16
lines changed Expand file tree Collapse file tree 2 files changed +42
-16
lines changed Original file line number Diff line number Diff line change @@ -8,4 +8,18 @@ export {
8
8
useParams ,
9
9
useHistory ,
10
10
useLocation ,
11
+ generatePath ,
12
+ Prompt ,
13
+ RedirectProps ,
14
+ Redirect ,
15
+ RouteChildrenProps ,
16
+ RouteComponentProps ,
17
+ RouteProps ,
18
+ Router ,
19
+ StaticRouter ,
20
+ SwitchProps ,
21
+ match ,
22
+ matchPath ,
23
+ withRouter ,
24
+ RouterChildContext ,
11
25
} from 'react-router-dom' ;
Original file line number Diff line number Diff line change 1
1
/* eslint-disable camelcase */
2
2
import * as ReactDom from 'react-dom' ;
3
- import type { Renderer } from 'react-dom' ;
4
3
5
- export * from 'reactant-router-dom' ;
6
-
7
- const {
8
- findDOMNode,
9
- unmountComponentAtNode,
10
- createPortal,
11
- version,
12
- render,
13
- hydrate,
14
- unstable_batchedUpdates,
15
- unstable_renderSubtreeIntoContainer,
16
- } = ReactDom ;
4
+ export type { Renderer } from 'react-dom' ;
17
5
18
6
export {
7
+ BrowserRouter ,
8
+ MemoryRouter ,
9
+ Switch ,
10
+ Route ,
11
+ Link ,
12
+ useRouteMatch ,
13
+ useParams ,
14
+ useHistory ,
15
+ useLocation ,
16
+ generatePath ,
17
+ Prompt ,
18
+ RedirectProps ,
19
+ Redirect ,
20
+ RouteChildrenProps ,
21
+ RouteComponentProps ,
22
+ RouteProps ,
23
+ Router ,
24
+ StaticRouter ,
25
+ SwitchProps ,
26
+ match ,
27
+ matchPath ,
28
+ withRouter ,
29
+ RouterChildContext ,
30
+ } from 'reactant-router-dom' ;
31
+
32
+ export const {
19
33
findDOMNode,
20
34
unmountComponentAtNode,
21
35
createPortal,
@@ -24,6 +38,4 @@ export {
24
38
hydrate,
25
39
unstable_batchedUpdates,
26
40
unstable_renderSubtreeIntoContainer,
27
- } ;
28
-
29
- export type { Renderer } ;
41
+ } = ReactDom ;
You can’t perform that action at this time.
0 commit comments