Common props for DisplayList and DisplayGrid

interface DisplayBaseProps {
    className?: string;
    height: number;
    innerClassName?: string;
    innerRender?: VirtualContainerRender;
    isScrolling?: boolean;
    itemData?: unknown;
    outerRender?: VirtualContainerRender;
    width: number;
}

Hierarchy (view full)

Properties

className?: string

The className applied to the outer container element. Use when styling the entire component.

height: number

Component height

innerClassName?: string

The className applied to the inner container element. Use for special cases when styling only the inner container and items.

Renders the inner grid div containing all the list items

Render prop implementing VirtualContainerRender. Used to customize display component inner container.

isScrolling?: boolean

Passed as DisplayBaseItemProps.isScrolling to each child item

Provided as a convenience when combining display components with VirtualScroll Not interpreted by the display component itself

itemData?: unknown

Passed as DisplayBaseItemProps.data to each child item

Renders the outer viewport div which provides a window onto the inner grid div

Render prop implementing VirtualContainerRender. Used to customize display component outer container.

width: number

Component width