Browse Source

Clean up last 'enable' properties (#4364)

* Fix typo in setStackRoot animation docs

* Use 'enabled' instead of 'enable'
Alberto Blanco 5 years ago
parent
commit
7a3b46623c

+ 1
- 1
docs/docs/screen-api.md View File

62
         options: {
62
         options: {
63
           animations: {
63
           animations: {
64
             setStackRoot: {
64
             setStackRoot: {
65
-              enable: true
65
+              enabled: true
66
             }
66
             }
67
           }
67
           }
68
         }
68
         }

+ 2
- 2
playground/src/screens/PushedScreen.js View File

111
           },
111
           },
112
           animations: {
112
           animations: {
113
             push: {
113
             push: {
114
-              enable: false
114
+              enabled: false
115
             }
115
             }
116
           },
116
           },
117
           preview: {
117
           preview: {
178
         options: {
178
         options: {
179
           animations: {
179
           animations: {
180
             setStackRoot: {
180
             setStackRoot: {
181
-              enable: false
181
+              enabled: false
182
             }
182
             }
183
           },
183
           },
184
           topBar: {
184
           topBar: {

+ 2
- 2
playground/src/screens/WelcomeScreen.js View File

359
         options: {
359
         options: {
360
           animations: {
360
           animations: {
361
             push: {
361
             push: {
362
-              enable: false
362
+              enabled: false
363
             }
363
             }
364
           },
364
           },
365
           preview: reactTag ? {
365
           preview: reactTag ? {
391
         options: {
391
         options: {
392
           animations: {
392
           animations: {
393
             push: {
393
             push: {
394
-              enable: false
394
+              enabled: false
395
             }
395
             }
396
           }
396
           }
397
         }
397
         }