import * as PropTypes from 'prop-types'; import * as React from 'react'; import { DatePickerPropsType } from './PropsType'; export interface PropsType extends DatePickerPropsType { prefixCls?: string; className?: string; use12Hours?: boolean; pickerPrefixCls?: string; popupPrefixCls?: string; onOk?: (x: any) => void; onVisibleChange?: (visible: boolean) => void; } export default class DatePicker extends React.Component { static defaultProps: { mode: string; prefixCls: string; pickerPrefixCls: string; popupPrefixCls: string; minuteStep: number; use12Hours: boolean; }; static contextTypes: { antLocale: PropTypes.Requireable; }; private scrollValue; setScrollValue: (v: any) => void; onOk: (v: any) => void; onVisibleChange: (visible: boolean) => void; fixOnOk: (picker: any) => void; render(): JSX.Element; }