• Parameters

    • props: ({
          allowClear?: boolean;
          confirmText?: string;
          max?: Date;
          min?: Date;
          renderBottom?: ((date) => ReactNode);
          renderDate?: ((date) => ReactNode);
          renderTop?: ((date) => ReactNode);
          shouldDisableDate?: ((date) => boolean);
          title?: ReactNode;
          weekStartsOn?: "Monday" | "Sunday";
      } & {
          defaultValue?: undefined;
          onChange?: undefined;
          selectionMode?: undefined;
          value?: undefined;
      } & {
          className?: string;
          style?: CSSProperties & Partial<Record<never, string>>;
          tabIndex?: number;
      } & AriaAttributes & {
          closeOnMaskClick?: boolean;
          confirmText?: string;
          forceRender?: true;
          getContainer?: GetContainer | undefined;
          onClose?: (() => void);
          onMaskClick?: (() => void);
          popupBodyStyle?: CSSProperties;
          popupClassName?: string;
          popupStyle?: CSSProperties;
          visible?: boolean;
      } & {
          onConfirm?: undefined;
          selectionMode?: undefined;
      } | {
          allowClear?: boolean;
          confirmText?: string;
          max?: Date;
          min?: Date;
          renderBottom?: ((date) => ReactNode);
          renderDate?: ((date) => ReactNode);
          renderTop?: ((date) => ReactNode);
          shouldDisableDate?: ((date) => boolean);
          title?: ReactNode;
          weekStartsOn?: "Monday" | "Sunday";
      } & {
          defaultValue?: null | Date;
          onChange?: ((val) => void);
          selectionMode: "single";
          value?: null | Date;
      } & {
          className?: string;
          style?: CSSProperties & Partial<Record<never, string>>;
          tabIndex?: number;
      } & AriaAttributes & {
          closeOnMaskClick?: boolean;
          confirmText?: string;
          forceRender?: true;
          getContainer?: GetContainer | undefined;
          onClose?: (() => void);
          onMaskClick?: (() => void);
          popupBodyStyle?: CSSProperties;
          popupClassName?: string;
          popupStyle?: CSSProperties;
          visible?: boolean;
      } & {
          onConfirm?: ((val) => void);
          selectionMode: "single";
      } | {
          allowClear?: boolean;
          confirmText?: string;
          max?: Date;
          min?: Date;
          renderBottom?: ((date) => ReactNode);
          renderDate?: ((date) => ReactNode);
          renderTop?: ((date) => ReactNode);
          shouldDisableDate?: ((date) => boolean);
          title?: ReactNode;
          weekStartsOn?: "Monday" | "Sunday";
      } & {
          defaultValue?: null | [Date, Date];
          onChange?: ((val) => void);
          selectionMode: "range";
          value?: null | [Date, Date];
      } & {
          className?: string;
          style?: CSSProperties & Partial<Record<never, string>>;
          tabIndex?: number;
      } & AriaAttributes & {
          closeOnMaskClick?: boolean;
          confirmText?: string;
          forceRender?: true;
          getContainer?: GetContainer | undefined;
          onClose?: (() => void);
          onMaskClick?: (() => void);
          popupBodyStyle?: CSSProperties;
          popupClassName?: string;
          popupStyle?: CSSProperties;
          visible?: boolean;
      } & {
          onConfirm?: ((val) => void);
          selectionMode: "range";
      } | Omit<never, "ref">) & RefAttributes<CalendarPickerViewRef>

    Returns ReactNode

Properties

$$typeof: symbol
defaultProps?: Partial<((({ title?: ReactNode; confirmText?: string | undefined; weekStartsOn?: "Monday" | "Sunday" | undefined; renderTop?: ((date: Date) => ReactNode) | undefined; ... 5 more ...; shouldDisableDate?: ((date: Date) => boolean) | undefined; } & ... 4 more ... & { ...; }) | ({ ...; } & ... 4 more ... & { ...; }) | ({ ...; } ...)>
displayName?: string

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

propTypes?: WeakValidationMap<((({ title?: ReactNode; confirmText?: string | undefined; weekStartsOn?: "Monday" | "Sunday" | undefined; renderTop?: ((date: Date) => ReactNode) | undefined; ... 5 more ...; shouldDisableDate?: ((date: Date) => boolean) | undefined; } & ... 4 more ... & { ...; }) | ({ ...; } & ... 4 more ... & { ...; }) | ({ ...; } ...)>

Generated using TypeDoc