Optional
Icon to be rendered. Can be either a predefined icon from the IconName enum or a custom React functional component that accepts SvgElementProps.
// Using a predefined icon<Icons icon={IconName.Play} />// Using a custom icon componentconst CustomIcon: React.FC<SvgElementProps> = (props) => ( <SvgElement {...props}> <path d="..." /> </SvgElement>);<Icons icon={CustomIcon} /> Copy
// Using a predefined icon<Icons icon={IconName.Play} />// Using a custom icon componentconst CustomIcon: React.FC<SvgElementProps> = (props) => ( <SvgElement {...props}> <path d="..." /> </SvgElement>);<Icons icon={CustomIcon} />
SVG title (tooltip or additional description shown on hover)
Icon to be rendered. Can be either a predefined icon from the IconName enum or a custom React functional component that accepts SvgElementProps.