ColorPicker

1 min read

颜色选择器。

import { ColorPicker } from '@antv/x6-react-components'
import '@antv/x6-react-components/es/color-picker/style/index.css'

<div style={{ width: 120 }}>
  <ColorPicker color="#333333" />
</div>

ColorPicker

参数说明类型默认值
style样式CSSProperties-
color当前颜色string | RGBColor-
disabled是否禁用boolean-
overlayProps弹出层选项-