BlockSuite API Documentation / @blocksuite/blocks / fitContent
Function: fitContent()
fitContent(
shape
):void
Parameters
• shape: ShapeElementModel
Returns
void
Defined in
packages/blocks/src/surface-block/renderer/elements/shape/utils.ts:224