callstack / callstack/react-native-paper

Checkbox.IOS & Checkbox.Android container style

オープン
#4,358 コメント 3 件 リアクション 3 件 担当者 0 名 GitHub で見る
feature request
主要言語
TypeScript
スター
14.5k
フォーク
2.2k
平均マージ
5日 23時間
マージ済み PR(30日)
12

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。