BlockSuite API Documentation / @blocksuite/virgo / AttributeRenderer
Type alias: AttributeRenderer<TextAttributes> ​
AttributeRenderer<
TextAttributes
>: (delta
,selected
) =>TemplateResult
<1
>
Type parameters ​
• TextAttributes extends BaseTextAttributes
= BaseTextAttributes
Parameters ​
• delta: DeltaInsert
<TextAttributes
>
• selected: boolean
Returns ​
TemplateResult
<1
>
Source ​
packages/virgo/src/types.ts:12
Generated using typedoc-plugin-markdown and TypeDoc