UNPKG

@gdjiami/jm-mrc-components

Version:

移动端可复用组件库

25 lines (24 loc) 727 B
import React from 'react'; export declare type MonthDayPickerValue = [number, number]; export interface MonthDayPickerProps { value?: MonthDayPickerValue; title?: string; onChange?: (value: MonthDayPickerValue) => void; children: (value: MonthDayPickerValue, onClick: () => void) => React.ReactNode; } interface State { visible: boolean; lastValue?: MonthDayPickerValue; } export default class MonthDayPicker extends React.PureComponent<MonthDayPickerProps> { static defaultProps: { title: string; }; state: State; render(): JSX.Element; private handleSelectChange; private handleCancel; private handleOk; private handleShow; } export {};