antd
Version:
An enterprise-class UI design language and React components implementation
14 lines (13 loc) • 424 B
TypeScript
import React from 'react';
export interface BackTopProps {
visibilityHeight?: number;
onClick?: React.MouseEventHandler<HTMLElement>;
target?: () => HTMLElement | Window | Document;
prefixCls?: string;
className?: string;
rootClassName?: string;
style?: React.CSSProperties;
duration?: number;
}
declare const BackTop: React.FC<React.PropsWithChildren<BackTopProps>>;
export default BackTop;