File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
versioned_docs/version-7.x Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -199,6 +199,31 @@ Only supported on iOS.
199
199
200
200
<img src =" /assets/7.x/native-stack/headerBackTitleStyle.png " width =" 500 " alt =" Header back title style " />
201
201
202
+ Example:
203
+
204
+ ``` js
205
+ export function NativeStack () {
206
+
207
+ return (
208
+ < Stack .Navigator >
209
+ < Stack .Screen
210
+ name= " NewsFeed"
211
+ component= {NewsFeedScreen}
212
+ options= {{
213
+ title: ' Feed' ,
214
+ animationTypeForReplace: ' pop' ,
215
+ headerBackTitle: ' Back title example' ,
216
+ headerBackTitleStyle: {
217
+ fontSize: 14 ,
218
+ fontFamily: ' Georgia' ,
219
+ },
220
+ }}
221
+ / >
222
+ < / Stack .Navigator >
223
+ );
224
+ }
225
+ ```
226
+
202
227
#### ` headerBackImageSource `
203
228
204
229
Image to display in the header as the icon in the back button. Defaults to back icon image for the platform
You can’t perform that action at this time.
0 commit comments