|
@@ -146,6 +146,28 @@ Navigation.mergeOptions(this.props.componentId, {
|
146
|
146
|
enabled: true
|
147
|
147
|
}
|
148
|
148
|
},
|
|
149
|
+ fab: {
|
|
150
|
+ id: 'fab', // required
|
|
151
|
+ backgroundColor: 'green',
|
|
152
|
+ clickColor: 'blue',
|
|
153
|
+ rippleColor: 'yellow',
|
|
154
|
+ visible: true,
|
|
155
|
+ icon: require('add.png'),
|
|
156
|
+ iconColor: 'white',
|
|
157
|
+ alignHorizontally: 'left', // one of 'left', 'right'
|
|
158
|
+ hideOnScroll: false,
|
|
159
|
+ size: 24,
|
|
160
|
+ actions: [{
|
|
161
|
+ id: 'fab-1', // required
|
|
162
|
+ backgroundColor: 'green',
|
|
163
|
+ clickColor: 'blue',
|
|
164
|
+ rippleColor: 'yellow'
|
|
165
|
+ visible: true,
|
|
166
|
+ icon: require('add.png'),
|
|
167
|
+ iconColor: 'white',
|
|
168
|
+ size: 24;
|
|
169
|
+ }];
|
|
170
|
+ },
|
149
|
171
|
overlay: {
|
150
|
172
|
interceptTouchOutside: true,
|
151
|
173
|
handleKeyboardEvents: true
|