A simple slightly customizable react native select button I created while learning react native basics. This module was created during the confinement period and the goal was to make it work ;)
Try out the demo on Expo Snack
import { AntDesign } from '@expo/vector-icons'
import SimpleSelectButton from 'react-native-simple-select-button';
<SimpleSelectButton
text="Button 1"
textSize={14}
iconName="checkcircleo"
iconColor="#fff"
iconSize={14}
buttonDefaultColor="#e5e5e5"
buttonSelectedColor="#ff9c5b"
textDefaultColor="#333"
textSelectedColor="#fff"
isChecked={true}
onPress={() => {}}
/>
# install module
yarn add react-native-simple-select-button
Important! You need to install them
"react-native-vector-icons": ">= 7.1.0",
PR is welcome!