Skip to main content

FdIconProps

Props of Icon

Properties​

className?​

optional className: string

Additional CSS class for custom styling.


color?​

optional color: string

The icon color.


id?​

optional id: string

Unique identifier for the icon element.


name​

name: string

The name of the icon to display.


onClick()?​

optional onClick: () => void

Event handler called when the icon is clicked.

Returns​

void


size?​

optional size: string

The icon size.