UNPKG

743 BTypeScriptView Raw
1import * as React from 'react';
2export type InnerProps = Pick<React.HTMLAttributes<HTMLDivElement>, 'role' | 'id'>;
3interface FillerProps {
4 prefixCls?: string;
5 /** Virtual filler height. Should be `count * itemMinHeight` */
6 height: number;
7 /** Set offset of visible items. Should be the top of start item position */
8 offsetY?: number;
9 offsetX?: number;
10 scrollWidth?: number;
11 children: React.ReactNode;
12 onInnerResize?: () => void;
13 innerProps?: InnerProps;
14 rtl: boolean;
15 extra?: React.ReactNode;
16}
17/**
18 * Fill component to provided the scroll content real height.
19 */
20declare const Filler: React.ForwardRefExoticComponent<FillerProps & React.RefAttributes<HTMLDivElement>>;
21export default Filler;