Skip to main content
Version: 1.0.5

IGridItemProps

@spartanfx/react v1.0.5


@spartanfx/react / IGridItemProps

Interface: IGridItemProps

Props for the GridItem component. Defines how a single cell should span within a CSS grid layout.

Properties

PropertyTypeDescription
children?ReactNodeChild elements to render inside the grid item.
className?stringOptional CSS class name for the grid item.
colSpan?numberNumber of columns the cell should span. Default 1
rowSpan?numberNumber of rows the cell should span. Default 1
style?CSSPropertiesOptional inline styles to apply to the cell container.