mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
chore: add deprecated comments (#56733)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user