// import * as PropTypes from 'prop-types'
import {
    DatePickerProps as originDatePickerProps,
    createInnerDatePicker,
} from '../inner-comps/create-inner-date-picker'

export const createDatePicker = createInnerDatePicker
export const DatePicker = createDatePicker()
export type DatePicker = InstanceType<typeof DatePicker>

/**
 * @deprecated
 *
 * 本 prop 不应再用前缀 I`, 近期会去除
 */
export type IDatePickerProps = originDatePickerProps

export type DatePickerProps = originDatePickerProps
