DisplayGridItem: React.ComponentType<DisplayGridItemProps>

Type of item in a DisplayGrid

Must be passed as a child to DisplayGrid. Accepts props defined by DisplayGridItemProps. Component must pass DisplayBaseItemProps.style to whatever it renders.

const Row = ({ index, style }: { index: number, style: React.CSSProperties }) => (
<div className="row" style={style}>
{ index }
</div>
);