UNPKG

shineout

Version:

Shein 前端组件库

27 lines (26 loc) 1.01 kB
import { Component, ReactNode } from 'react'; import { BaseListProps } from './Props'; declare class Index<U, T> extends Component<BaseListProps<U, T>> { static defaultProps: { colNum: number; loading: boolean; size: string; }; id: string | null; node: HTMLDivElement | null; observer: HTMLDivElement | null; static displayName: string; constructor(props: BaseListProps<U, T>); componentWillUnmount(): void; getItemClassName(value: U, index: number, flag?: boolean, isLastCol?: boolean): string; getContent(value: U, index: number): ReactNode; scrollLoading(): void; bindNode(node: HTMLDivElement): void; bindObserver(node: HTMLDivElement): void; renderCheckBox(flag: boolean, data: U, index: number): JSX.Element | null; renderItem(value: U, index: number): JSX.Element; renderList(isEmpty: boolean): JSX.Element | JSX.Element[]; renderFooter(): JSX.Element | null; render(): JSX.Element; } export default Index;