katoikia-app/web-ui/web-react/node_modules/primereact/datascroller/datascroller.d.ts

31 lines
788 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
import * as React from 'react';
type DataScrollerEmptyMessageType = React.ReactNode | ((props: DataScrollerProps) => React.ReactNode);
interface DataScrollerLazyLoadParams {
first: number;
rows: number;
}
export interface DataScrollerProps {
id?: string;
value?: any[];
rows?: number;
inline?: boolean;
scrollHeight?: string;
loader?: boolean;
buffer?: number;
style?: object;
className?: string;
header?: React.ReactNode;
footer?: React.ReactNode;
lazy?: boolean;
emptyMessage?: DataScrollerEmptyMessageType;
onLazyLoad?(e: DataScrollerLazyLoadParams): void;
itemTemplate?(item: any): React.ReactNode;
}
export declare class DataScroller extends React.Component<DataScrollerProps, any> {
public load(): void;
}