From 28f2e312bb91a2e2218758a439e26a2c007a141f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kiner-tang=28=E6=96=87=E8=BE=89=29?= <1127031143@qq.com> Date: Mon, 15 May 2023 18:44:47 +0800 Subject: [PATCH] docs(color-picker): update docs (#42372) * docs: update docs * docs: update docs --- components/color-picker/index.en-US.md | 2 +- components/color-picker/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/color-picker/index.en-US.md b/components/color-picker/index.en-US.md index bc39c32bb2..332299f0bb 100644 --- a/components/color-picker/index.en-US.md +++ b/components/color-picker/index.en-US.md @@ -47,7 +47,7 @@ Used when the user needs to customize the color selection. | onOpenChange | Callback when `open` is changed | `(open: boolean) => void` | - | | disabled | Disable ColorPicker | boolean | - | | 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 diff --git a/components/color-picker/index.zh-CN.md b/components/color-picker/index.zh-CN.md index 42b8b69213..8617d2fa19 100644 --- a/components/color-picker/index.zh-CN.md +++ b/components/color-picker/index.zh-CN.md @@ -48,7 +48,7 @@ group: | onOpenChange | 当 `open` 被改变时的回调 | `(open: boolean) => void` | - | | disabled | 禁用颜色选择器 | boolean | - | | placement | 弹出窗口的位置 | `top` \| `topLeft` \| `topRight` \| `bottom` \| `bottomLeft` \| `bottomRight` | `bottomLeft` | -| arrow | 配置弹出的箭头 | boolean | `{ pointAtCenter: boolean }` | - | +| arrow | 配置弹出的箭头 | `boolean \| { pointAtCenter: boolean }` | `true` | - | ### Color