<IconSelector/>
Allows you to insert an icon picker into a block. Fetches the available T2 icons from the window object, and lets you use them in blocks.
Available props
Prop | Type | Description |
---|---|---|
allowedIcons? | string[]; | Array of icon names you want to make available for the user. |
onSelect? | (args1: string | undefined) => string | void; |
label? | string; | Label for the component. |