UNPKG
@react-three/uikit-default
Version:
alpha (1.0.37)
latest (0.8.21)
1.0.37
1.0.36
1.0.35
1.0.34
1.0.33
1.0.32
1.0.31
1.0.30
0.8.21
0.8.20
0.8.19
0.8.18
0.8.17
0.8.16
0.8.15
0.8.14
0.8.13
0.8.12
0.8.11
0.8.10
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.1
0.7.0
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.13
0.3.12
0.3.11
0.3.10
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.22
0.1.21
0.1.20
Default (shadcn) kit for @react-three/uikit
github.com/pmndrs/uikit
pmndrs/uikit
@react-three/uikit-default
/
dist
/
label.js
6 lines
(5 loc)
•
293 B
JavaScript
View Raw
1
2
3
4
5
6
import
{
DefaultProperties
}
from
'@react-three/uikit'
;
import
React
from
'react'
;
export
function
Label
(
{ disabled, ...props }
) {
return
(
React
.
createElement
(
DefaultProperties
, {
fontWeight
:
"medium"
,
fontSize
:
14
,
lineHeight
:
"100%"
,
opacity
: disabled ?
0.7
:
undefined
, ...props })); }