Browse Source
docs(color-picker): update docs (#42372)
* docs: update docs
* docs: update docs
pull/42374/head
kiner-tang(文辉)
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
components/color-picker/index.en-US.md
-
components/color-picker/index.zh-CN.md
|
@ -47,7 +47,7 @@ Used when the user needs to customize the color selection. |
|
|
| onOpenChange | Callback when `open` is changed | `(open: boolean) => void` | - | |
|
|
| onOpenChange | Callback when `open` is changed | `(open: boolean) => void` | - | |
|
|
| disabled | Disable ColorPicker | boolean | - | |
|
|
| disabled | Disable ColorPicker | boolean | - | |
|
|
| placement | Placement of popup | `top` \| `topLeft` \| `topRight` \| `bottom` \| `bottomLeft` \| `bottomRight` | `bottomLeft` | |
|
|
| placement | Placement of popup | `top` \| `topLeft` \| `topRight` \| `bottom` \| `bottomLeft` \| `bottomRight` | `bottomLeft` | |
|
|
| arrow | Configuration for popup arrow | boolean | `{ pointAtCenter: boolean }` | - | |
|
|
| arrow | Configuration for popup arrow | `boolean \| { pointAtCenter: boolean }` | `true` | - | |
|
|
|
|
|
|
|
|
### Color |
|
|
### Color |
|
|
|
|
|
|
|
|
|
@ -48,7 +48,7 @@ group: |
|
|
| onOpenChange | 当 `open` 被改变时的回调 | `(open: boolean) => void` | - | |
|
|
| onOpenChange | 当 `open` 被改变时的回调 | `(open: boolean) => void` | - | |
|
|
| disabled | 禁用颜色选择器 | boolean | - | |
|
|
| disabled | 禁用颜色选择器 | boolean | - | |
|
|
| placement | 弹出窗口的位置 | `top` \| `topLeft` \| `topRight` \| `bottom` \| `bottomLeft` \| `bottomRight` | `bottomLeft` | |
|
|
| placement | 弹出窗口的位置 | `top` \| `topLeft` \| `topRight` \| `bottom` \| `bottomLeft` \| `bottomRight` | `bottomLeft` | |
|
|
| arrow | 配置弹出的箭头 | boolean | `{ pointAtCenter: boolean }` | - | |
|
|
| arrow | 配置弹出的箭头 | `boolean \| { pointAtCenter: boolean }` | `true` | - | |
|
|
|
|
|
|
|
|
### Color |
|
|
### Color |
|
|
|
|
|
|
|
|