Child element of the <Grid>
component.
By default it spans one column but you can specify the number of columns that it should span by setting the columnSpan
or the columnStart
and columnEnd
props.
Usage
import { GridItem } from 'nr1'
Props
REQUIREDnode | Content to render inside the grid item. |
string | Appends class names to the component.Should be used only for positioning and spacing purposes. |
boolean | If |
boolean | If |
number | Determines the grid item's end column within the grid.Possible values: integer between 1 and 12. |
number | Determines across how many columns the grid item should span, starting from the provided |
number | Determines the grid item's start column within the grid. Possible values: integer between 1 and 12. |
object | Inline style for custom styling. |
string | Adds a Note: You might not see |