UNPKG
react-portal
Version:
latest (4.3.0)
next (4.0.0-rc.0)
4.3.0
4.2.2
4.2.1
4.2.0
4.1.5
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.0
4.0.0-rc.0
4.0.0-beta.3
4.0.0-beta.2
4.0.0-beta.1
3.2.0
3.1.0
3.0.0
2.2.1
2.2.0
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.0
1.7.0
1.6.0
1.5.5
1.5.0
1.4.1
1.4.0
1.3.0
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
0.7.0
0.6.0
0.5.1
0.5.0
0.4.1
0.4.0
0.3.0
0.2.2
0.2.1
0.2.0
0.1.3
0.1.2
0.1.0
0.0.0
To make your life with React Portals easier.
github.com/tajo/react-portal
tajo/react-portal
react-portal
/
lib
/
utils.js
6 lines
(5 loc)
•
202 B
JavaScript
View Raw
1
2
3
4
5
6
'use strict'
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
var
canUseDOM =
exports
.
canUseDOM
= !!(
typeof
window
!==
'undefined'
&&
window
.
document
&&
window
.
document
.
createElement
);