Columncomponent
Column({ as: Element = "div", children, column = true, ...props }: ColumnProps): ReactElement| Param | Type | |
|---|---|---|
props | ColumnProps | Props for the <Column> component. required |
.as | BlockElement | Element this <Column> renders as, e.g. "header" to output a "<header>" Defaults to "div" |
| Return | |
|---|---|
ReactElement |
Flex container that stacks its children as a column by default.
Examples
<Column gap="small">{items}</Column>