ColorPicker

阅读时间约 1 分钟

颜色选择器。

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弹出层选项-