Merge pull request #24488 from meshulam/rn-nav-showasaction

react-native-navigation: Add showAsAction field to NavigatorButton
This commit is contained in:
Mine Starks
2018-03-23 13:42:38 -07:00
committed by GitHub
+3
View File
@@ -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 {