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

ToggleButton multi select: different colors

Open dinhopereira opened this issue 2 years ago • 2 comments

Hello everyone!

I'm developing an app that will have a page for selecting 10 numbers from 01 to 100. I'm using the ToggleButton, but I'd like to customize the colors:

[https://snack.expo.dev/@dinhopereira/multiselectnumbers]

Checked: Green background with white font Unchecked: White background with green font

I'm using line-by-line checking, but I think the code will be wordy.

Does anyone have a tip on how to make the code more "friendly"?

tks

dinhopereira avatar Jul 29 '22 00:07 dinhopereira

Couldn't find version numbers for the following packages in the issue:

  • react-native
  • react-native-paper
  • react-native-vector-icons

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

github-actions[bot] avatar Jul 29 '22 00:07 github-actions[bot]

Couldn't find version numbers for the following packages in the issue:

* `react-native`

* `react-native-paper`

* `react-native-vector-icons`

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

"react-native": "^0.69.0" "react-native-paper": "^4.12.2" "react-native-vector-icons": "^9.2.0"

dinhopereira avatar Jul 29 '22 12:07 dinhopereira

Hi @dinhopereira,

Is the question still available? If so, then I could create an example for you.

raduly-zalan avatar Mar 02 '23 12:03 raduly-zalan

Hey @raduly-zalan, feel free to attach the snack with the example or paste some code :)

lukewalczak avatar Mar 31 '23 11:03 lukewalczak