index.d.ts 436 B

1234567891011121314
  1. import * as React from 'react';
  2. export 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. }
  13. declare const BackTop: React.FC<BackTopProps>;
  14. export default BackTop;