UNPKG
@atlaskit/portal
Version:
design-system-lite-mode (4.1.0)
latest (7.0.1)
next (4.3.2)
7.0.1
7.0.0
6.4.1
6.4.0
6.3.0
6.2.2
6.2.1
6.2.0
6.1.0
6.0.1
6.0.0
5.5.6
5.5.5
5.5.4
5.5.3
5.5.2
5.5.1
5.5.0
5.4.2
5.4.1
5.4.0
5.3.2
5.3.1
5.3.0
5.2.2
5.2.1
5.2.0
5.1.8
5.1.7
5.1.6
5.1.5
5.1.4
5.1.3
5.1.2
5.1.1
5.1.0
5.0.2
5.0.1
5.0.0
4.11.3
4.11.2
4.11.1
4.11.0
4.10.0
4.9.4
4.9.3
4.9.2
4.9.1
4.9.0
4.8.0
4.7.0
4.6.1
4.6.0
4.5.0
4.4.2
4.4.1
4.4.0
4.3.6
4.3.5
4.3.4
4.3.3
4.3.2
4.3.1
4.3.0
4.2.13
4.2.12
4.2.11
4.2.10
4.2.9
4.2.8
4.2.7
4.2.6
4.2.5
4.2.4
4.2.3
4.2.2
4.2.1
4.2.0
4.1.2
4.1.1
4.1.0
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.1.9
3.1.8
3.1.7
3.1.6
3.1.5
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.13
3.0.12
3.0.11
3.0.10
3.0.9
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.0.2
2.0.1
2.0.0
1.0.0
0.3.1
0.3.0
0.2.2
0.2.1
0.2.0
0.1.0
0.0.18
0.0.17
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
A wrapper for rendering components in React portals.
atlassian.design/components/portal/
@atlaskit/portal
/
dist
/
es2019
/
internal
/
utils
/
get-body.js
7 lines
•
146 B
JavaScript
View Raw
1
2
3
4
5
6
7
/** * Returns document body element *
@return
{
number
} - The document body element */
export
const
getBody
= (
) => {
return
document
.
body
; };