From 2f401935f3ae8fb75d8f41b88864e0b644fa05b7 Mon Sep 17 00:00:00 2001 From: zhangchao <13170027668@163.com> Date: Mon, 18 Nov 2024 22:32:33 +0800 Subject: [PATCH] docs: Cascader notFoundContent should be ReactNode (#51684) --- components/cascader/index.en-US.md | 2 +- components/cascader/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/cascader/index.en-US.md b/components/cascader/index.en-US.md index 5c20240c68..70b4656f1f 100644 --- a/components/cascader/index.en-US.md +++ b/components/cascader/index.en-US.md @@ -67,7 +67,7 @@ Common props ref:[Common props](/docs/react/common-props) | maxTagCount | Max tag count to show. `responsive` will cost render performance | number \| `responsive` | - | 4.17.0 | | maxTagPlaceholder | Placeholder for not showing tags | ReactNode \| function(omittedValues) | - | 4.17.0 | | maxTagTextLength | Max tag text length to show | number | - | 4.17.0 | -| notFoundContent | Specify content to show when no result matches | string | `Not Found` | | +| notFoundContent | Specify content to show when no result matches | ReactNode | `Not Found` | | | open | Set visible of cascader popup | boolean | - | 4.17.0 | | options | The data options of cascade | [Option](#option)\[] | - | | | placeholder | The input placeholder | string | - | | diff --git a/components/cascader/index.zh-CN.md b/components/cascader/index.zh-CN.md index ba0c30f644..cedd36f33b 100644 --- a/components/cascader/index.zh-CN.md +++ b/components/cascader/index.zh-CN.md @@ -68,7 +68,7 @@ demo: | maxTagCount | 最多显示多少个 tag,响应式模式会对性能产生损耗 | number \| `responsive` | - | 4.17.0 | | maxTagPlaceholder | 隐藏 tag 时显示的内容 | ReactNode \| function(omittedValues) | - | 4.17.0 | | maxTagTextLength | 最大显示的 tag 文本长度 | number | - | 4.17.0 | -| notFoundContent | 当下拉列表为空时显示的内容 | string | `Not Found` | | +| notFoundContent | 当下拉列表为空时显示的内容 | ReactNode | `Not Found` | | | open | 控制浮层显隐 | boolean | - | 4.17.0 | | options | 可选项数据源 | [Option](#option)\[] | - | | | placeholder | 输入框占位文本 | string | - | |