react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

Checkbox.IOS & Checkbox.Android container style

Open ElSeniorMikael opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. There's no problem encounter about the feature request

Describe the solution you'd like I've look inside the file for the Checkbox component and i've realised there is no props for the container of the components. Most of your component have style to overrides the default style of your theme but some doesnt and i was wondering if it would be possible to pass a props either to Checkbox.IOS, Checkbox.Android or Checkbox.item

As for the checkbox.IOS and checkbox.Android. it could be a simple "style" props like most of them and as for Checkbox.Item it could be something like "checkboxStyle" so we could overrides the borderRadius or the padding used on the component.

The same would apply for the RadioButton if possible

Describe alternatives you've considered i've try to make a custom components to overrides certain aspect of the components like for the IOS is it not obvious that there's a checkbox so i wanted to set a border around it, similar to Android but the padding make it so much bigger than needed. so i came here to ask if there's a possibility to add a props to target the checkbox container that hold the borderRadius and padding.

ElSeniorMikael avatar Mar 25 '24 14:03 ElSeniorMikael

NOTE:: The same would apply for the radio button if possible

ElSeniorMikael avatar Mar 26 '24 12:03 ElSeniorMikael