c-virtualized-list
Version:
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
25 lines (18 loc) • 590 B
TypeScript
declare module 'virtualized-list-ready' {
export type ListProps = {
array: React.ReactNode[];
style?: React.CSSProperties;
}
export type ItemProps = {
content?: React.ReactNode;
index?: number;
listRef: React.MutableRefObject<HTMLDivElement | null>;
root?: Element | null;
rootMargin?: string;
threshold?: number | number[];
showIndex?:boolean;
style?: React.CSSProperties;
}
const List: React.FC<ListProps>;
export default List;
}