File tree Expand file tree Collapse file tree 3 files changed +27
-11
lines changed Expand file tree Collapse file tree 3 files changed +27
-11
lines changed Original file line number Diff line number Diff line change 3
3
Object . defineProperty ( exports , "__esModule" , {
4
4
value : true
5
5
} ) ;
6
+ exports . isPending = undefined ;
6
7
7
8
var _LoadingSwitch = require ( './LoadingSwitch' ) ;
8
9
@@ -18,12 +19,15 @@ Object.keys(_LoadingSwitch).forEach(function (key) {
18
19
19
20
var _utils = require ( './utils' ) ;
20
21
21
- Object . keys ( _utils ) . forEach ( function ( key ) {
22
- if ( key === "default" || key === "__esModule" ) return ;
23
- Object . defineProperty ( exports , key , {
24
- enumerable : true ,
25
- get : function ( ) {
26
- return _utils [ key ] ;
27
- }
28
- } ) ;
29
- } ) ;
22
+ Object . defineProperty ( exports , 'isPending' , {
23
+ enumerable : true ,
24
+ get : function ( ) {
25
+ return _utils . isPending ;
26
+ }
27
+ } ) ;
28
+
29
+ var _LoadingSwitch2 = _interopRequireDefault ( _LoadingSwitch ) ;
30
+
31
+ function _interopRequireDefault ( obj ) { return obj && obj . __esModule ? obj : { default : obj } ; }
32
+
33
+ exports . default = _LoadingSwitch2 . default ;
Original file line number Diff line number Diff line change
1
+ import LoadingSwitch, { type Props as _Props } from './LoadingSwitch'
2
+
3
+ export type Props = _Props
4
+
5
+ export default LoadingSwitch
6
+
1
7
export * from './LoadingSwitch'
2
- export * from './utils'
8
+ export { isPending } from './utils'
Original file line number Diff line number Diff line change
1
+ import LoadingSwitch , { type Props as _Props } from './LoadingSwitch'
2
+
3
+ export type Props = _Props
4
+
5
+ export default LoadingSwitch
6
+
1
7
export * from './LoadingSwitch'
2
- export * from './utils'
8
+ export { isPending } from './utils'
You can’t perform that action at this time.
0 commit comments