|
@@ -5,7 +5,12 @@ type Color = string;
|
5
|
5
|
type FontFamily = string;
|
6
|
6
|
type LayoutOrientation = 'portrait' | 'landscape';
|
7
|
7
|
type AndroidDensityNumber = number;
|
8
|
|
-type SystemItemIcon = 'done' | 'cancel' | 'edit' | 'save' | 'add' | 'flexibleSpace' | 'fixedSpace' | 'compose' | 'reply' | 'action' | 'organize' | 'bookmarks' | 'search' | 'refresh' | 'stop' | 'camera' | 'trash' | 'play' | 'pause' | 'rewind' | 'fastForward' | 'undo' | 'redo';
|
|
8
|
+type SystemItemIcon = 'done' | 'cancel' | 'edit'
|
|
9
|
+ | 'save' | 'add' | 'flexibleSpace' | 'fixedSpace'
|
|
10
|
+ | 'compose' | 'reply' | 'action' | 'organize'
|
|
11
|
+ | 'bookmarks' | 'search' | 'refresh' | 'stop'
|
|
12
|
+ | 'camera' | 'trash' | 'play' | 'pause'
|
|
13
|
+ | 'rewind' | 'fastForward' | 'undo' | 'redo';
|
9
|
14
|
|
10
|
15
|
export interface OptionsSplitView {
|
11
|
16
|
/**
|
|
@@ -70,6 +75,12 @@ export interface OptionsLayout {
|
70
|
75
|
* #### (Android specific)
|
71
|
76
|
*/
|
72
|
77
|
topMargin?: number;
|
|
78
|
+
|
|
79
|
+ /**
|
|
80
|
+ * Set language direction.
|
|
81
|
+ * only works with DefaultOptions
|
|
82
|
+ */
|
|
83
|
+ direction?: 'rtl' | 'ltr';
|
73
|
84
|
}
|
74
|
85
|
|
75
|
86
|
export enum OptionsModalPresentationStyle {
|
|
@@ -247,9 +258,9 @@ export interface OptionsTopBarButton {
|
247
|
258
|
* Set the button icon
|
248
|
259
|
*/
|
249
|
260
|
icon?: ImageRequireSource;
|
250
|
|
- /**
|
251
|
|
- * Set the button icon insets
|
252
|
|
- */
|
|
261
|
+ /**
|
|
262
|
+ * Set the button icon insets
|
|
263
|
+ */
|
253
|
264
|
iconInsets?: IconInsets;
|
254
|
265
|
/**
|
255
|
266
|
* Set the button as a custom component
|