From 8200e5ccb3d6d80ae0b6407726cc116c69ce9979 Mon Sep 17 00:00:00 2001 From: lijianan <574980606@qq.com> Date: Sat, 13 May 2023 00:13:35 +0800 Subject: [PATCH] docs: update tag (#42303) * Update index.zh-CN.md to document tagRender * fix: fix lint * docs: update tag --- components/cascader/index.zh-CN.md | 2 +- components/color-picker/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/cascader/index.zh-CN.md b/components/cascader/index.zh-CN.md index 25e4f37162..3919e8a413 100644 --- a/components/cascader/index.zh-CN.md +++ b/components/cascader/index.zh-CN.md @@ -56,7 +56,7 @@ demo: | defaultValue | 默认的选中项 | string\[] \| number\[] | \[] | | | disabled | 禁用 | boolean | false | | | displayRender | 选择后展示的渲染函数 | (label, selectedOptions) => ReactNode | label => label.join(`/`) | `multiple`: 4.18.0 | -| tagRender | 自定义 tag 内容 render,仅在多选时生效 | ({ label: string, onClose: function, value: string }) => ReactNode | - | | +| tagRender | 自定义 tag 内容 render,仅在多选时生效 | ({ label: string, onClose: function, value: string }) => ReactNode | - | | | popupClassName | 自定义浮层类名 | string | - | 4.23.0 | | dropdownRender | 自定义下拉框内容 | (menus: ReactNode) => ReactNode | - | 4.4.0 | | expandIcon | 自定义次级菜单展开图标 | ReactNode | - | 4.4.0 | diff --git a/components/color-picker/index.zh-CN.md b/components/color-picker/index.zh-CN.md index 8b4df41d89..faf8639088 100644 --- a/components/color-picker/index.zh-CN.md +++ b/components/color-picker/index.zh-CN.md @@ -4,7 +4,7 @@ subtitle: 颜色选择器 title: ColorPicker cover: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*PpY4RYNM8UcAAAAAAAAAAAAADrJ8AQ/original coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*EHL-QYJofZsAAAAAAAAAAAAADrJ8AQ/original -tag: 新 +tag: New demo: cols: 2 group: