diff --git a/components/auto-complete/index.tsx b/components/auto-complete/index.tsx index 10d2759c34..d62d9cb226 100755 --- a/components/auto-complete/index.tsx +++ b/components/auto-complete/index.tsx @@ -20,6 +20,7 @@ const PurePanel = genPurePanel(RefAutoComplete, 'popupAlign', (props: any) => ); type CompoundedComponent = typeof RefAutoComplete & { + /** @deprecated Please use `options` instead. */ Option: typeof Option; _InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel; }; diff --git a/components/breadcrumb/index.tsx b/components/breadcrumb/index.tsx index 2a69c9465c..51a304ff55 100644 --- a/components/breadcrumb/index.tsx +++ b/components/breadcrumb/index.tsx @@ -11,7 +11,9 @@ export type { export type { BreadcrumbItemProps, SeparatorType } from './BreadcrumbItem'; type CompoundedComponent = typeof InternalBreadcrumb & { + /** @deprecated Please use `items` instead. */ Item: typeof BreadcrumbItem; + /** @deprecated Please use `separator` instead. */ Separator: typeof BreadcrumbSeparator; }; diff --git a/components/select/index.tsx b/components/select/index.tsx index b8bcf86409..6741c0cbc0 100755 --- a/components/select/index.tsx +++ b/components/select/index.tsx @@ -466,7 +466,9 @@ const Select = React.forwardRef(InternalSelect) as unknown as (< ) => React.ReactElement) & { displayName?: string; SECRET_COMBOBOX_MODE_DO_NOT_USE: string; + /** @deprecated Please use `options` instead. */ Option: typeof Option; + /** @deprecated Please use `options` instead. */ OptGroup: typeof OptGroup; _InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel; };