• 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

$$typeof: symbol
DATE_NOW: string
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>>
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

prompt: ((props) => Promise<PickerDate | null>)

Type declaration

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>>

Generated using TypeDoc