rnx-ui-popover
v0.0.1
Published
RNX UI Component: Popover
Downloads
2
Readme
Popover
底部弹层选项
API
Prop |Type |Default |Required | Description --- |--- |--- |--- | --- visible |bool |false |Yes |是否显示 modelStyle |object|{} |No |遮罩样式 onClose |func |() => {}|No |关闭后回调 onPressModal|func |() => {}|No |点击遮罩层的回调
ActionSheet
Prop |Type |Default |Required | Description --- |--- |--- |--- | --- menu |array |[] |No |菜单 menu[n] |object|{} |No |菜单项 menu[n].text |string|'' |No |菜单项文字 menu[n].textStyle |object|{} |No |菜单项文字样式 menu[n].action |func |() => {} |No |菜单项点击回调 underlayColor |string|'#F9F9F9' |No |菜单项点击颜色