File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,24 @@ export const com_mendix_widget_native_popupmenu_PopupMenu: PopupMenuType = {
1717 // All ViewStyle properties are allowed
1818 borderRadius : 10 ,
1919 shadowColor : "#000" ,
20- overflow : "hidden" ,
2120 shadowOpacity : 0.2 ,
2221 shadowRadius : 10 ,
2322 elevation : 16 ,
2423 backgroundColor : background . primary ,
2524 } ,
26- itemRippleColor : contrast . lower ,
25+ custom : {
26+ itemStyle : {
27+ rippleColor : contrast . lower ,
28+ } ,
29+ containerStyle : {
30+ // All ViewStyle properties are allowed
31+ } ,
32+ } ,
2733 basic : {
2834 dividerColor : font . color ,
2935 itemStyle : {
3036 ellipsizeMode : "tail" , // 'head' | 'middle' | 'tail' | 'clip';
37+ rippleColor : contrast . lower ,
3138 defaultStyle : {
3239 // All TextStyle properties are allowed
3340 color : font . color ,
Original file line number Diff line number Diff line change @@ -332,10 +332,16 @@ export interface ProgressCircleType {
332332export interface PopupMenuType {
333333 container ?: ViewStyle ;
334334 basic : BasicItemStyle ;
335+ custom : CustomItemStyle
335336 buttonContainer ?: ViewStyle ;
336337 itemRippleColor : string ;
337338}
338339
340+ interface CustomItemStyle extends ViewStyle {
341+ containerStyle ?: ViewStyle ;
342+ itemStyle : { rippleColor ?: string } ;
343+ }
344+
339345interface BasicItemStyle {
340346 itemStyle ?: ItemStyle ;
341347 containerStyle ?: ViewStyle ;
You can’t perform that action at this time.
0 commit comments