Under Review
Last Updated: 08 Mar 2022 13:38 by ADMIN
Ting
Created on: 08 Mar 2022 11:04
Type: Feature Request
1
Feature request: Please add`iconClass` to `MenuItemProps`

Currently, you cannot specify a custom icon for `MenuItem`, e.g. a Material Design icon, as the `icon` prop only accepts the name of an icon from the Kendo font icons.

So please can you add a `iconClass` prop just like Button so we are able to use an alternative icon set.

Thanks.

1 comment
ADMIN
Konstantin Dikov
Posted on: 08 Mar 2022 13:38

Hello Ting,

Thank you for reaching out to us.

I am converting the ticket to feature request that will be visible in our portal (https://feedback.telerik.com/kendo-react-ui), where other developers can vote for it.

Meanwhile, you can use the "linkRender" to customize the rendering of the icon class, so that it does not include the "k-" prefix:

 

Best Regards,
Konstantin Dikov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.