UNPKG

shineout

Version:

Shein 前端组件库

24 lines (23 loc) 626 B
/// <reference types="react" /> import { PureComponent } from '../component'; import { ScrollIndexProps } from './Props'; interface ScrollIndexState { left: number; top: number; } export default class extends PureComponent<ScrollIndexProps, ScrollIndexState> { static displayName: string; static defaultProps: { scroll: string; }; constructor(props: ScrollIndexProps); get scrollX(): boolean; get scrollY(): boolean; getRect(): { left: number; top: number; }; handleScroll(x: number, y: number, ...others: any): void; render(): JSX.Element; } export {};