UNPKG
@rc-component/color-picker
Version:
latest (3.1.1)
3.1.1
3.1.0
3.0.3
3.0.2
3.0.1
3.0.0
2.0.1
2.0.0
1.9.0
1.8.3
1.8.2
1.8.1
1.8.0
1.7.1
1.7.0
1.6.1
1.6.0
1.5.3
1.5.2
1.5.1
1.5.0
1.4.1
1.4.0
1.3.0
1.2.0
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
1.0.0-alpha.11
1.0.0-alpha.10
1.0.0-alpha.9
1.0.0-alpha.8
1.0.0-alpha.7
1.0.0-alpha.6
1.0.0-alpha.5
1.0.0-alpha.4
1.0.0-alpha.3
1.0.0-alpha.2
1.0.0-alpha.1
React Color Picker
github.com/react-component/color-picker
react-component/color-picker
@rc-component/color-picker
/
es
/
components
/
Palette.js
15 lines
•
281 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
React
from
'react'
;
const
Palette
= (
{ children, style, prefixCls }
) => {
return
/*#__PURE__*/
React
.
createElement
(
"div"
, {
className
:
`
${prefixCls}
-palette`
,
style
: {
position
:
'relative'
, ...style } }, children); };
export
default
Palette
;