Icon Menu
A controlled popover menu for icon selection and upload.
Installation
Examples
With IconBlock
API Reference
IconMenu
Prop | Type | Default | Description |
---|---|---|---|
disabled | boolean | - | Whether the menu is disabled. |
onSelect | (icon: IconData) => void | - | Handler that is called when an icon or emoji is selected or when a URL is submitted. |
onUpload | (file: File) => void | - | Handler that is called when an image file is submitted. |
onRemove | () => void | - | Handler that is called when the remove button is clicked. |
- See
IconData