You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, icons from font-awesome, material design and the internal ones are available, but it would be quite nice to also be able to use other icon libraries like bootstrap icons.
Describe the solution you'd like
I noticed that there's an IconType.Custom option, but that seems to just get ignored when using it.
I haven't been able to have a look at the source code, but maybe when using the custom or a bootstrap option, one can specify which classes should be applied on an <i> element to build the requested icon.
Describe alternatives you've considered
I'm currently fine with using the ones available, but having more options is always good.
The text was updated successfully, but these errors were encountered:
it seems there is no implementation for the Custom type .. I suggest passing HTML string to the Icon property it gives you more options than just passing a class to tag. Some libraries need to be wrapped in tag or you might have icons as SVG images.
for example options.Icon = <img src="myIcon.svg"/>
I will make PR for this and @chrissainty can check it later
Is your feature request related to a problem? Please describe.
Currently, icons from font-awesome, material design and the internal ones are available, but it would be quite nice to also be able to use other icon libraries like bootstrap icons.
Describe the solution you'd like
I noticed that there's an
IconType.Custom
option, but that seems to just get ignored when using it.I haven't been able to have a look at the source code, but maybe when using the custom or a bootstrap option, one can specify which classes should be applied on an
<i>
element to build the requested icon.Describe alternatives you've considered
I'm currently fine with using the ones available, but having more options is always good.
The text was updated successfully, but these errors were encountered: