Function: useBlockAttributes()
useBlockAttributes(
node?):object
Defined in: packages/core/src/react/blocks/hooks/useBlockAttributes.ts:19
useBlockAttributes hooks returns the block attributes for a given block based on what it supports
Parameters
node?
The reference to the dom node of the block
Returns
object
align
align:
Align
blockStyle
blockStyle:
string
border
border:
Border
colors
colors:
Colors
spacing
spacing:
Spacing
typography
typography:
Typography
width
width:
undefined|string