You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
animations:ANIMATIONS_SLIDE, // or ANIMATIONS_FADE
94
103
headers: {
95
104
'my-custom-header':'my custom header value'
@@ -105,7 +114,7 @@ The option to support:
105
114
|enableUrlBarHiding|boolean|undefined|Enables the url bar to hide as the user scrolls down on the page.|
106
115
|showPageTitle|boolean|undefined|Sets whether the title should be shown in the custom tab.|
107
116
|enableDefaultShare|boolean|undefined|Whether to add a default shared items of the menu.|
108
-
|animations|number|undefined|Sets the exit and start animations. ANIMATIONS_FADEor ANIMATIONS_SLIDE.|
117
+
|animations|Object|undefined|Sets the exit and start animations. ANIMATIONS_FADE, ANIMATIONS_SLIDE or custom object with string properties `startEnter`, `startExit`, `endEnter` and `endExit` each defining an Android animation resource ID to use for the animations, such as `com.github.droibit.android.reactnative.customtabs:anim/slide_in_right`.|
109
118
|headers|Object|undefined|Sets any custom headers that should be used.|
110
119
111
120
`undefined` property is the default behavior of the Custom Tabs.
0 commit comments