Foundation / Layout
Flex
server19.75 kB
@stellaria/nebula-webFlexPropsPreview
Props
4| Prop | Type | Default |
|---|---|---|
children | ReactNode | — |
className Composes with the classes `Box` computes instead of replacing them. | string | — |
component The element it paints. `Flex` only sets `display`, so the semantics are yours. | (ElementType & C) | "div" |
inline Lays out as `inline-flex`, so the box flows inside a line of text instead of breaking it. An explicit `display` beats this. | boolean | false |
Also accepts
On top of its own props, this component forwards these groups.
Style props · 128