Common props for DisplayListItem and DisplayGridItem

interface DisplayBaseItemProps {
    data: unknown;
    isScrolling?: boolean;
    style: CSSProperties;
}

Hierarchy (view full)

Properties

data: unknown

Value of DisplayBaseProps.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.

Value passed through from DisplayBaseProps.isScrolling.

style: CSSProperties

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