widgets Component – <Flex>

const Flex: LiveComponent<FlexProps>

Props

BoxTrait

grow?
number
shrink?
number
margin?
MarginLike
inline?
Base
flex?
Anchor

ElementTrait

width?
Dimension
height?
Dimension
radius?
MarginLike
border?
MarginLike
stroke?
ColorLike
fill?
ColorLike
image?
Partial<ImageTrait>

Other

direction?
Direction
gap?
GapLike
align?
AlignmentLike
anchor?
Anchor
wrap?
boolean
snap?
boolean

children?

| LiveElement<ArrowFunction>[]
| ReactElementInterop
| DeferredCall<ArrowFunction>

Source

packages / layout / src / display / flex.ts

menu
format_list_numbered