Skip to content

Commit 0d7b857

Browse files
authored
Merge pull request FuYaoDe#22 from phoenixbox/typo
Fix prop type typo Hendle -> Handle
2 parents 41bda42 + 7adffe5 commit 0d7b857

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Example/index.android.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class Example extends Component {
6666
doneBtnHandle = () => {
6767
Alert.alert('Done');
6868
}
69-
nextBtnHendle = (index) => {
69+
nextBtnHandle = (index) => {
7070
Alert.alert('Next');
7171
console.log(index);
7272
}
@@ -77,7 +77,7 @@ class Example extends Component {
7777
render() {
7878
return (
7979
<AppIntro
80-
onNextBtnClick={this.nextBtnHendle}
80+
onNextBtnClick={this.nextBtnHandle}
8181
onDoneBtnClick={this.doneBtnHandle}
8282
onSkipBtnClick={this.onSkipBtnHandle}
8383
onSlideChange={this.onSlideChangeHandle}

Example/index.ios.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Example extends Component {
5757
doneBtnHandle = () => {
5858
Alert.alert('Done');
5959
}
60-
nextBtnHendle = (index) => {
60+
nextBtnHandle = (index) => {
6161
Alert.alert('Next');
6262
console.log(index);
6363
}
@@ -68,7 +68,7 @@ class Example extends Component {
6868
render() {
6969
return (
7070
<AppIntro
71-
onNextBtnClick={this.nextBtnHendle}
71+
onNextBtnClick={this.nextBtnHandle}
7272
onDoneBtnClick={this.doneBtnHandle}
7373
onSkipBtnClick={this.onSkipBtnHandle}
7474
onSlideChange={this.onSlideChangeHandle}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Example extends Component {
3636
doneBtnHandle = () => {
3737
Alert.alert('Done');
3838
}
39-
nextBtnHendle = (index) => {
39+
nextBtnHandle = (index) => {
4040
Alert.alert('Next');
4141
console.log(index);
4242
}
@@ -69,7 +69,7 @@ class Example extends Component {
6969
}];
7070
return (
7171
<AppIntro
72-
onNextBtnClick={this.nextBtnHendle}
72+
onNextBtnClick={this.nextBtnHandle}
7373
onDoneBtnClick={this.doneBtnHandle}
7474
onSkipBtnClick={this.onSkipBtnHandle}
7575
onSlideChange={this.onSlideChangeHandle}

0 commit comments

Comments
 (0)