UNPKG

custom-app

Version:

ITIMS��Ʒ�鿪��ר��React���,�Dz��ý��ּ�dhcc-app���������

27 lines (26 loc) 907 B
import * as React from 'react'; import { ConfigConsumerProps } from '../config-provider'; export interface BackTopProps { visibilityHeight?: number; onClick?: React.MouseEventHandler<HTMLElement>; target?: () => HTMLElement | Window; prefixCls?: string; className?: string; style?: React.CSSProperties; visible?: boolean; } export default class BackTop extends React.Component<BackTopProps, any> { static defaultProps: { visibilityHeight: number; }; scrollEvent: any; constructor(props: BackTopProps); componentDidMount(): void; componentWillUnmount(): void; setScrollTop(value: number): void; getCurrentScrollTop: () => number; scrollToTop: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void; handleScroll: () => void; renderBackTop: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; }