callstack / callstack/react-native-paper

Checkbox.IOS & Checkbox.Android container style

Open
#4,358 3 comments 3 reactions 0 assignees View on GitHub
feature request
Dominant language
TypeScript
Stars
14.5k
Forks
2.2k
Avg merge
5d 23h
Merged PRs (30d)
12

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.