React Native Group Button
I got this idea react-native-group-button from react-native-elements and changed something
Features
- You Can Use it as group of button horizontal or vertical
Installation
$ npm install react-native-group-button --save
Quick Start
;;; const buttons = 'first button' 'second button' 'third button'; { superprops; thisstate = selectedIndexes: } { return <View style=stylescontainer> <ButtonGroup isHorizontal=false component=TouchableOpacity selectMultiple onPress= { this } selectedIndexes=thisstateselectedIndexes buttons=buttons containerStyle=stylesbuttonGroupContainer containerBorderRadius=50 innerBorderStyle= color: 'transparent' buttonStyle=stylesbuttonGroupStyle textStyle=stylesbuttonTextStyle selectedButtonStyle=stylesbuttonGroupSelectedStyle selectedTextStyle=stylesbuttonTextSelectedStyle /> </View> ; } const styles = StyleSheet;