The API reference is a Work in Progress and will be continuously improved and extended. We'd love to hear your feedback in our documentation repository.
Home > @edtr-io/ui > createIcon
createIcon() function
Creates an icon component
Signature:export declare function createIcon(i: IconDefinition): React.ComponentType
Parameters
Parameter | Type | Description |
---|---|---|
i | IconDefinition | The icon to use |
React.ComponentType
A component for the specified icon