From 0c18d37a7e5b744cfe6c86b9d1c5cc6b25b85aa6 Mon Sep 17 00:00:00 2001 From: winches <96854855+winchesHe@users.noreply.github.com> Date: Sun, 18 Feb 2024 12:32:05 +0800 Subject: [PATCH] docs(breadcrumb): repair breadcrumbItem props (#47464) --- components/breadcrumb/index.en-US.md | 2 +- components/breadcrumb/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/breadcrumb/index.en-US.md b/components/breadcrumb/index.en-US.md index d4f3be3d9c..a250979ed4 100644 --- a/components/breadcrumb/index.en-US.md +++ b/components/breadcrumb/index.en-US.md @@ -58,7 +58,7 @@ Common props ref:[Common props](/docs/react/common-props) ### ItemType -> type ItemType = [RouteItemType](#RouteItemType) | [SeparatorType](#SeparatorType) +> type ItemType = Omit<[RouteItemType](#RouteItemType), 'title' | 'path'> | [SeparatorType](#SeparatorType) ### RouteItemType diff --git a/components/breadcrumb/index.zh-CN.md b/components/breadcrumb/index.zh-CN.md index 0447a56012..0450fedcf3 100644 --- a/components/breadcrumb/index.zh-CN.md +++ b/components/breadcrumb/index.zh-CN.md @@ -59,7 +59,7 @@ return ; ### ItemType -> type ItemType = [RouteItemType](#RouteItemType) | [SeparatorType](#SeparatorType) +> type ItemType = Omit<[RouteItemType](#RouteItemType), 'title' | 'path'> | [SeparatorType](#SeparatorType) ### RouteItemType