mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 15:27:05 +00:00
Merge pull request #24488 from meshulam/rn-nav-showasaction
react-native-navigation: Add showAsAction field to NavigatorButton
This commit is contained in:
+3
@@ -241,6 +241,8 @@ export type SystemItemIOS = 'done' | 'cancel' | 'edit' | 'save' | 'add' |
|
||||
'bookmarks' | 'search' | 'refresh' | 'stop' | 'camera' | 'trash' | 'play' |
|
||||
'pause' | 'rewind' | 'fastForward' | 'undo' | 'redo';
|
||||
|
||||
export type ShowAsActionAndroid = 'ifRoom' | 'always' | 'withText' | 'never';
|
||||
|
||||
export interface NavigatorButton {
|
||||
id: string | IdAndroid;
|
||||
title?: string;
|
||||
@@ -254,6 +256,7 @@ export interface NavigatorButton {
|
||||
buttonFontSize?: number;
|
||||
buttonFontWeight?: string | number;
|
||||
systemItem?: SystemItemIOS;
|
||||
showAsAction?: ShowAsActionAndroid;
|
||||
}
|
||||
|
||||
export interface FABAndroid {
|
||||
|
||||
Reference in New Issue
Block a user