import React from "react"; import './index.scss'; export declare type Precision = 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second'; export declare type PickerValue = string | null; export interface PickerColumnItem { label: string; value: string; key?: string | number; } export declare type PickerColumn = Array; export interface ColorfulDatePickerProps { /** * 是否可见 */ visible?: boolean; /** * 最小日期 */ min?: string; /** * 最大日期 */ max?: string; /** * 默认日期 */ defaultValue?: string; /** * 展示范围 */ precision?: Precision; /** * 展示单位 */ unit?: boolean; /** * 标题 */ title: string; /** * 确认事件 */ onConfirm?: any; } declare const ColorfulDatePicker: React.FC; export default ColorfulDatePicker;