Skip to content

Commit d45411e

Browse files
authored
Update README.md
1 parent d01bc22 commit d45411e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ class test extends Component {
3737
onRightValueChange = {(rightValue) => this.setState({rightValue})}
3838
/>
3939
</View>
40+
<TouchableOpacity onPress = {() => this.onPress(true)}>
41+
<View style = {styles.button}>
42+
<Text>Click to disable</Text>
43+
</View>
44+
</TouchableOpacity>
45+
<TouchableOpacity onPress = {() => this.onPress(false)}>
46+
<View style = {styles.button}>
47+
<Text>Click to able</Text>
48+
</View>
49+
</TouchableOpacity>
4050
</View>
4151
);
4252
}

0 commit comments

Comments
 (0)