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>); Copy
const Row = ({ index, style }: { index: number, style: React.CSSProperties }) => ( <div className="row" style={style}> { index } </div>);
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.