UNPKG

@jdcfe/yep-react

Version:

一套移动端的React组件库

34 lines (33 loc) 682 B
import * as React from 'react'; export interface PickerPopupProps { /** * 是否显示 */ show?: boolean; /** * 标题 */ title?: string; /** * 关闭事件回调 */ onCancel?: () => void; /** * 确定事件回调 */ onOk?: (value: any) => void; className?: string; picker: any; } export default class PickerPopup extends React.PureComponent<PickerPopupProps> { picker: any; static defaultProps: { show: boolean; onOk: () => null; onCancel: () => null; title: string; }; onOk: () => void; saveRef: (picker: any) => void; render(): JSX.Element; }