Currently, it is assumed that an Image component is used for the icon, and will throw a warning if a different component is used (since the tintColor style is not supported for other types of components).
Since icon fonts are also widely used, would you be open to creating a new iconType option that allowed you to specify text or image (the default), and would only add the default tintColor style if the type was an image?
Currently, it is assumed that an Image component is used for the icon, and will throw a warning if a different component is used (since the tintColor style is not supported for other types of components).
Since icon fonts are also widely used, would you be open to creating a new
iconType
option that allowed you to specifytext
orimage
(the default), and would only add the default tintColor style if the type was an image?Thanks again for all your hard work