react-fast-masonry
Version:
A fast masonry infinite-scrolling component using the intersection api
29 lines (22 loc) • 1.09 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [react-fast-masonry](./react-fast-masonry.md) > [MasonryInfiniteScrollerProps](./react-fast-masonry.masonryinfinitescrollerprops.md)
## MasonryInfiniteScrollerProps type
The input props to the FastMasonry component
<b>Signature:</b>
```typescript
export declare type MasonryInfiniteScrollerProps<ItemType> = Omit<ListProps, "renderItem" | "children" | "itemCount"> & {
items: ItemType[];
loadMore: () => void;
onIntersection?: ListProps["onIntersection"];
renderItem: (currentSizing: MasonrySizing, ...args: Parameters<Required<ListProps>["renderItem"]>) => ReturnType<Required<ListProps>["renderItem"]>;
className?: string;
outerClassName?: string;
pack?: boolean;
packedAttribute?: string;
position?: boolean;
sizes: [MasonrySizing, ...MasonrySizing[]];
style?: React.CSSProperties;
outerStyle?: React.CSSProperties;
};
```
<b>References:</b> [MasonrySizing](./react-fast-masonry.masonrysizing.md)