UNPKG

primereact

Version:

PrimeReact is an open source UI library for React featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with Prime

30 lines (25 loc) 899 B
import * as React from 'react'; type DataScrollerEmptyMessageType = React.ReactNode | ((props: DataScrollerProps) => React.ReactNode); interface DataScrollerLazyLoadParams { first: number; rows: number; } export interface DataScrollerProps extends Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'ref'> { buffer?: number; children?: React.ReactNode; emptyMessage?: DataScrollerEmptyMessageType; footer?: React.ReactNode; header?: React.ReactNode; inline?: boolean; lazy?: boolean; loader?: boolean; rows?: number; scrollHeight?: string; value?: any[]; itemTemplate?(item: any): React.ReactNode; onLazyLoad?(e: DataScrollerLazyLoadParams): void; } export declare class DataScroller extends React.Component<DataScrollerProps, any> { public load(): void; public getElement(): HTMLDivElement; }