Skip to content

Commit

Permalink
Clean up last 'enable' properties (#4364)
Browse files Browse the repository at this point in the history
* Fix typo in setStackRoot animation docs

* Use 'enabled' instead of 'enable'
  • Loading branch information
ItsNoHax authored and yogevbd committed Nov 29, 2018
1 parent 6b5fe80 commit 7a3b466
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/docs/screen-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Navigation.setStackRoot(this.props.componentId, {
options: {
animations: {
setStackRoot: {
enable: true
enabled: true
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions playground/src/screens/PushedScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class PushedScreen extends Component {
},
animations: {
push: {
enable: false
enabled: false
}
},
preview: {
Expand Down Expand Up @@ -178,7 +178,7 @@ class PushedScreen extends Component {
options: {
animations: {
setStackRoot: {
enable: false
enabled: false
}
},
topBar: {
Expand Down
4 changes: 2 additions & 2 deletions playground/src/screens/WelcomeScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ class WelcomeScreen extends Component {
options: {
animations: {
push: {
enable: false
enabled: false
}
},
preview: reactTag ? {
Expand Down Expand Up @@ -391,7 +391,7 @@ class WelcomeScreen extends Component {
options: {
animations: {
push: {
enable: false
enabled: false
}
}
}
Expand Down

0 comments on commit 7a3b466

Please sign in to comment.