UNPKG

@nutui/nutui-react

Version:

京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序

16 lines (15 loc) 698 B
import { BasicComponent } from "../../utils/typings"; import { PickerOptions, PickerValue, PickerOption } from "../../types"; export interface DatePickerViewProps extends BasicComponent { value?: Date; defaultValue?: Date; type: 'date' | 'time' | 'year-month' | 'month-day' | 'datehour' | 'datetime' | 'hour-minutes'; showChinese: boolean; minuteStep: number; startDate: Date; endDate: Date; threeDimensional: boolean; formatter: (type: string, option: PickerOption) => PickerOption; filter: (type: string, options: PickerOptions) => PickerOptions; onChange: (selectedOptions: PickerOptions, selectedValue: PickerValue[], columnIndex: number) => void; }