Props accepted by VirtualGridItem

interface VirtualGridItemProps {
    columnIndex: number;
    data: unknown;
    isScrolling?: boolean;
    rowIndex: number;
    style: CSSProperties;
}

Hierarchy (view full)

Properties

columnIndex: number

Column index of item in the grid being rendered

data: unknown

Value of VirtualBaseProps.itemData from owning component

isScrolling?: boolean

Is the owning component being actively scrolled? Used to change how the item is rendered depending on scroll state.

Only defined if VirtualBaseProps.useIsScrolling is true.

rowIndex: number

Row index of item in the grid being rendered

style: CSSProperties

Style that should be applied to each item rendered. Positions the item within the inner container.