callstack / callstack/react-native-paper
Checkbox.IOS & Checkbox.Android container style
- 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
Research direction
Start by locating the Checkbox.IOS, Checkbox.Android, Checkbox.Item, and RadioButton component files mentioned in the issue, then read how their container styles are currently defined. Done means the requested container styling props are supported consistently and their behavior is covered by the relevant component tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- design, frontend, mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100