widgets Component – <Block>

const Block: LiveComponent<BlockProps>

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
padding?
MarginLike
snap?
boolean
contain?
boolean

children?

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

Source

packages / layout / src / display / block.ts

menu
format_list_numbered