mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
feat(BackTop): mark component as deprecated in favor of FloatButton.BackTop (#56371)
This commit is contained in:
@@ -25,6 +25,9 @@ export interface BackTopProps {
|
||||
duration?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Please use `FloatButton.BackTop` instead.
|
||||
*/
|
||||
const BackTop: React.FC<React.PropsWithChildren<BackTopProps>> = (props) => {
|
||||
const {
|
||||
prefixCls: customizePrefixCls,
|
||||
|
||||
Reference in New Issue
Block a user