Skip to content

BlockSuite API Documentation / @blocksuite/blocks / icon

Function: icon()

icon(svg, size?): TemplateResult<1>

Parameters

svg

TemplateResult<2>

size?

number

Returns

TemplateResult<1>

Defined in

packages/affine/components/dist/icons/utils.d.ts:2