File tree 1 file changed +30
-2
lines changed
1 file changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -180,11 +180,35 @@ type Button = {
180
180
181
181
// ios-only
182
182
style: ' plain' | ' default' ;
183
- systemItem: ' done ' | ' cancel ' | ' edit ' | ' save ' | ' add ' | ' flexibleSpace ' | ' compose ' | ' reply ' | ' action ' | ' organize ' | ' bookmarks ' | ' search ' | ' refresh ' | ' stop ' | ' camera ' | ' trash ' | ' play ' | ' pause ' | ' rewind ' | ' fastForward ' | ' undo ' | ' redo ' | ' pageCurl ' ;
183
+ systemItem: SystemItem ;
184
184
185
185
// android-only
186
186
};
187
187
188
+ type SystemItem = ' done'
189
+ | ' cancel'
190
+ | ' edit'
191
+ | ' save'
192
+ | ' add'
193
+ | ' flexibleSpace'
194
+ | ' compose'
195
+ | ' reply'
196
+ | ' action'
197
+ | ' organize'
198
+ | ' bookmarks'
199
+ | ' search'
200
+ | ' refresh'
201
+ | ' stop'
202
+ | ' camera'
203
+ | ' trash'
204
+ | ' play'
205
+ | ' pause'
206
+ | ' rewind'
207
+ | ' fastForward'
208
+ | ' undo'
209
+ | ' redo'
210
+ | ' pageCurl'
211
+
188
212
type NavigatorConfigProps = {
189
213
190
214
// shared
@@ -196,6 +220,7 @@ type NavigatorConfigProps = {
196
220
rightTitle: string;
197
221
rightImage: Image;
198
222
rightButtons: Array < Button> ;
223
+ leftButtons: Array < Button> ;
199
224
screenColor: Color;
200
225
hidden: boolean;
201
226
backgroundColor: Color;
@@ -210,12 +235,13 @@ type NavigatorConfigProps = {
210
235
titleFontSize: number;
211
236
subtitleFontName: string;
212
237
subtitleFontSize: number;
238
+ leftTitle: string;
239
+ leftImage: Image;
213
240
214
241
// android-only-but-should-share
215
242
navIcon: Image;
216
243
logo: Image;
217
244
textAlign: ' left' | ' center' | ' right' ;
218
- leftButtons: Array < Button> ;
219
245
220
246
// ios-only
221
247
prompt: string;
@@ -226,6 +252,8 @@ type NavigatorConfigProps = {
226
252
isToolbarHidden: boolean;
227
253
backIndicatorTransitionMaskImage: Image;
228
254
translucent: boolean;
255
+ rightSystemItem: SystemItem;
256
+ leftSystemItem: SystemItem;
229
257
230
258
// android-only
231
259
statusBarColor: Color;
You can’t perform that action at this time.
0 commit comments