Skip to main content

IGridItemProps

@spartanfx/react v1.2.2


@spartanfx/react / index / IGridItemProps

Interface: IGridItemProps

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

Properties

Options

PropertyTypeDefaultDescription
children?ReactNode-Child elements to render inside the grid item.
colSpan?number1Number of columns the cell should span.
rowSpan?number1Number of rows the cell should span.

Appearance & theming

PropertyTypeDefaultDescription
className?string-Optional CSS class name for the grid item.
style?CSSProperties-Optional inline styles to apply to the cell container.