Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <TouchableWithoutFeedback onPress={() => this.setState({ falseSwitchIsOn: !this.state.falseSwitchIsOn })} >
- <View style={{ alignItems: 'center', paddingTop: 20, paddingBottom: 20, flexDirection: 'row', borderBottomWidth: 1, borderColor: '#f7f7f7' }}>
- <Entypo name="list" size={32} color='#0D8F4F' />
- <View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'stretch' }}>
- <View style={{ flexDirection: 'column', alignItems: 'stretch' }}>
- <Text style={{ marginLeft: 15, fontWeight: '600' }}>Night Mode</Text>
- <Text style={{ fontWeight: '400', color: '#333', marginLeft: 15 }}>Text readibility at night</Text>
- </View>
- <Switch
- onValueChange={(value) => this.setState({ falseSwitchIsOn: value })}
- style={{ alignItems: 'flex-end' }}
- value={this.state.falseSwitchIsOn} />
- </View>
- </View>
- </TouchableWithoutFeedback>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement