Parcourir la source

Document proper usage of setDefaultOptions

Guy Carmeli il y a 6 ans
Parent
révision
5dd7f849cb
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2
    0
      docs/docs/styling.md

+ 2
- 0
docs/docs/styling.md Voir le fichier

32
 ## Enabling persistent styling properties
32
 ## Enabling persistent styling properties
33
 In v2 we added `setDefaultOptions` API for styles that should be applied on all components.
33
 In v2 we added `setDefaultOptions` API for styles that should be applied on all components.
34
 
34
 
35
+> `setDefaultOptions` Does not update options of existing component, therefore it should be called before `setRoot`
36
+
35
 ```js
37
 ```js
36
 Navigation.setDefaultOptions({
38
 Navigation.setDefaultOptions({
37
   topBar: {
39
   topBar: {