UNPKG

436 BTypeScriptView Raw
1import * as React from 'react';
2export interface BackTopProps {
3 visibilityHeight?: number;
4 onClick?: React.MouseEventHandler<HTMLElement>;
5 target?: () => HTMLElement | Window | Document;
6 prefixCls?: string;
7 children?: React.ReactNode;
8 className?: string;
9 rootClassName?: string;
10 style?: React.CSSProperties;
11 duration?: number;
12}
13declare const BackTop: React.FC<BackTopProps>;
14export default BackTop;