Skip to content

CheckboxAndroid and CheckboxIOS use MaterialCommunityIcon instead of custom icon function from PaperProviderΒ #4255

@jahirfiquitiva

Description

@jahirfiquitiva

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions