File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 9
9
10
10
'use strict' ;
11
11
12
- const ReactEvents = require ( './src/ReactEvents' ) ;
13
-
14
- // TODO: decide on the top-level export form.
15
- // This is hacky but makes it work with both Rollup and Jest.
16
- module . exports = ReactEvents . default || ReactEvents ;
12
+ export * from './src/ReactEvents' ;
Original file line number Diff line number Diff line change @@ -13,13 +13,7 @@ import {
13
13
} from 'shared/ReactSymbols' ;
14
14
import type { ReactEventTarget } from 'shared/ReactTypes' ;
15
15
16
- const TouchHitTarget : ReactEventTarget = {
16
+ export const TouchHitTarget : ReactEventTarget = {
17
17
$$typeof : REACT_EVENT_TARGET_TYPE ,
18
18
type : REACT_EVENT_TARGET_TOUCH_HIT ,
19
19
} ;
20
-
21
- const ReactEvents = {
22
- TouchHitTarget,
23
- } ;
24
-
25
- export default ReactEvents ;
You can’t perform that action at this time.
0 commit comments