xotahal / react-native-material-ui

Highly customizable material design components for React Native
MIT License
3.78k stars 609 forks source link

Icons for Searchable toolbar not working when IconSet is changed in theme #430

Open jordijansen opened 5 years ago

jordijansen commented 5 years ago

I've changed my theme to use the MaterialCommunityIcons iconSet instead of the default. This however breaks the searchable toolbar because the icon arrow-forwardand clear.

These icons are hardcoded into the LeftElement and RightElement of the Toolbar.

It would be nice if the icons can be changed by overriding a property or the icons in the Searchable component should always use the default IconSet instead of following the theme.