FdIconProps
Props of Icon
Properties
className?
optionalclassName:string
Additional CSS class for custom styling.
color?
optionalcolor:string
The icon color.
id?
optionalid:string
Unique identifier for the icon element.
name
name:
string
The name of the icon to display.
onClick()?
optionalonClick: () =>void
Event handler called when the icon is clicked.
Returns
void
size?
optionalsize:string
The icon size.