Current behaviour
I have setup a custom icon in PaperProvider
import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome';
...
<PaperProvider
settings={{
icon: props => <FontAwesomeIcon {...props} icon={props.name} />
}}>
// ...
</PaperProvider>
But CheckboxAndroid and CheckboxIOS only use MaterialCommunityIcon instead of the icon function from the PaperProvider
Expected behaviour
CheckboxAndroid and CheckboxIOS should use Icon instead of MaterialCommunityIcon for the check icons.
How to reproduce?
https://snack.expo.dev/@jahirfiquitiva/greedy-yellow-turkish-delight
Preview
What have you tried so far?
Your Environment
| software |
version |
| ios |
17.0.1 |
| android |
x |
| react-native |
0.72.6 |
| react-native-paper |
5.11.6 |
| node |
v18.18.2 |
| npm or yarn |
4.0.1 |
| expo sdk |
x.x.x |
Current behaviour
I have setup a custom icon in PaperProvider
But
CheckboxAndroidandCheckboxIOSonly useMaterialCommunityIconinstead of the icon function from thePaperProviderreact-native-paper/src/components/Checkbox/CheckboxAndroid.tsx
Line 135 in d6b6b66
Expected behaviour
CheckboxAndroidandCheckboxIOSshould useIconinstead ofMaterialCommunityIconfor the check icons.How to reproduce?
https://snack.expo.dev/@jahirfiquitiva/greedy-yellow-turkish-delight
Preview
What have you tried so far?
Your Environment