Icon
An icon component that can be used to display an icon. Used the <iconify-icon> under the hood.
Interfaces
IconProps
Defined in: icon.types.ts:7
The Icon component properties.
Extends
unknown<JSX.HTMLAttributes<HTMLElement>>
Properties
icon
icon:
string
Defined in: icon.types.ts:12
The icon name.
See
https://icon-sets.iconify.design/
Variables
Icon
constIcon:Component<IconProps>
Defined in: icon.component.tsx:10
A simple icon component that wraps the <iconify-icon> web component.
Param
Returns
The icon component.