UNPKG

@uiw/react-native

Version:
16 lines (15 loc) 517 B
import React from 'react'; export interface ControlProps { /** 确认时触发 */ onConfirm?: () => void; /** 关闭模态框 */ onClosed?: () => void; /** 确定按钮的文字 */ okText?: string | React.ReactNode; /** 取消按钮的文字 */ cancelText?: string | React.ReactNode; /** 确定取消按钮 当触摸处于活动状态时将显示的底层颜色 */ underlayColor?: string; } declare const Control: (props: ControlProps) => JSX.Element; export default Control;