callstack / callstack/react-native-paper

Checkbox.IOS & Checkbox.Android container style

Aperta
#4,358 3 commenti 3 reazioni 0 assegnatari Vedi su GitHub
feature request
Lingua principale
TypeScript
Stelle
14.5k
Fork
2.2k
Merge medio
5g 23h
PR unite (30g)
12

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.