Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | import { StyledProps, Combine } from "../_type"; import { RangeDateType } from "../calendar/DateProps"; import { CommonDropdownProps } from "../dropdown/Dropdown"; export interface CommonDatePickerProps extends Combine<CommonDropdownProps, StyledProps> { /** * 是否禁用 * @default false */ disabled?: boolean; /** * placeholder * @default "选择日期" 或 “选择时间”(包含时间选择时) */ placeholder?: string; /** * 可选择日期范围 */ range?: RangeDateType; /** * 头部渲染内容 */ header?: React.ReactNode; /** * 日期展示格式 * @default "YYYY-MM-DD" 或 "YYYY-MM-DD HH:mm:ss"(包含时间选择时) */ format?: string; } |