Skip to content

BlockSuite API Documentation / @blocksuite/blocks / icon

Function: icon()

icon(svg, size): TemplateResult<1>

Parameters

svg: TemplateResult<2>

size: number= 24

Returns

TemplateResult<1>

Source

packages/blocks/src/_common/icons/utils.ts:26