- DatePicker(props): ReactNode
Parameters
props: Pick<PickerProps, "style" | "title" | "loading" | "onClick" | "visible" | "forceRender" | "onCancel" | "afterClose" | "cancelText" | "destroyOnClose" | "getContainer" | "afterShow" | "stopPropagation" | "onClose" | "closeOnMaskClick" | "confirmText" | "loadingContent" | "mouseWheel"> & {
children?: ((value, actions) => ReactNode);
defaultValue?: null | PickerDate;
filter?: Partial<Record<Precision, ((val, extend) => boolean)>>;
max?: PickerDate;
min?: PickerDate;
onConfirm?: ((value) => void);
onSelect?: ((value) => void);
precision?: Precision;
renderLabel?: RenderLabel;
tillNow?: boolean;
value?: null | PickerDate;
} & {
className?: string;
style?: CSSProperties & Partial<Record<never, string>>;
tabIndex?: number;
} & AriaAttributes & RefAttributes<PickerActions>
Returns ReactNode
Properties
Readonly $$typeof
$$typeof: symbol
DATE_NOW
DATE_NOW: string
Optional defaultProps
defaultProps?: Partial<Pick<PickerProps, "style" | "title" | "loading" | "onClick" | "visible" | "forceRender" | "onCancel" | "afterClose" | "cancelText" | "destroyOnClose" | "getContainer" | "afterShow" | "stopPropagation" | "onClose" | "closeOnMaskClick" | "confirmText" | "loadingContent" | "mouseWheel"> & { children?: ((value,
actions) => ReactNode); defaultValue?: null | PickerDate; filter?: Partial<Record<Precision, ((val,
extend) => boolean)>>; max?: PickerDate; min?: PickerDate; onConfirm?: ((value) => void); onSelect?: ((value) => void); precision?: Precision; renderLabel?: RenderLabel; tillNow?: boolean; value?: null | PickerDate; } & { className?: string; style?: CSSProperties & Partial<Record<never, string>>; tabIndex?: number; } & AriaAttributes & RefAttributes<PickerActions>> Optional displayName
displayName?: string
prompt
prompt: ((props) => Promise<PickerDate | null>) Optional propTypes
propTypes?: WeakValidationMap<Pick<PickerProps, "style" | "title" | "loading" | "onClick" | "visible" | "forceRender" | "onCancel" | "afterClose" | "cancelText" | "destroyOnClose" | "getContainer" | "afterShow" | "stopPropagation" | "onClose" | "closeOnMaskClick" | "confirmText" | "loadingContent" | "mouseWheel"> & { children?: ((value,
actions) => ReactNode); defaultValue?: null | PickerDate; filter?: Partial<Record<Precision, ((val,
extend) => boolean)>>; max?: PickerDate; min?: PickerDate; onConfirm?: ((value) => void); onSelect?: ((value) => void); precision?: Precision; renderLabel?: RenderLabel; tillNow?: boolean; value?: null | PickerDate; } & { className?: string; style?: CSSProperties & Partial<Record<never, string>>; tabIndex?: number; } & AriaAttributes & RefAttributes<PickerActions>>
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.