LayoutStack
Stack
Lays out children vertically, with consistent spacing between them.
StackProps
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
align | keyof typeof alignHorizontalMapright|left|center | — | — | Horizontally align elements within the stack. |
children | ReactNode | Yes | — | The elements of the stack. Note that `Fragment` will be treated as a single element. |
dividers | boolean | — | — | Place a divider between each element. |
Also accepts SupportedFlexProps | ||||