• Parameters

    • props: {
          cancelText?: ReactNode;
          children?: ((items, actions) => ReactNode);
          closeOnMaskClick?: boolean;
          columns: PickerColumn[] | ((value) => PickerColumn[]);
          confirmText?: ReactNode;
          defaultValue?: PickerValue[];
          loading?: boolean;
          loadingContent?: ReactNode;
          mouseWheel?: boolean;
          onCancel?: (() => void);
          onClose?: (() => void);
          onConfirm?: ((value, extend) => void);
          onSelect?: ((value, extend) => void);
          popupClassName?: string;
          popupStyle?: CSSProperties;
          renderLabel?: ((item) => ReactNode);
          title?: ReactNode;
          value?: PickerValue[];
          visible?: boolean;
      } & Pick<PopupProps, "onClick" | "forceRender" | "afterClose" | "destroyOnClose" | "getContainer" | "afterShow" | "stopPropagation"> & {
          className?: string;
          style?: CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>;
          tabIndex?: number;
      } & AriaAttributes & RefAttributes<PickerActions>

    Returns ReactNode

Properties

$$typeof: symbol
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<PickerValue[] | null>)

Type declaration

type: ForwardRefExoticComponent<{
    cancelText?: ReactNode;
    children?: ((items, actions) => ReactNode);
    closeOnMaskClick?: boolean;
    columns: PickerColumn[] | ((value) => PickerColumn[]);
    confirmText?: ReactNode;
    defaultValue?: PickerValue[];
    loading?: boolean;
    loadingContent?: ReactNode;
    mouseWheel?: boolean;
    onCancel?: (() => void);
    onClose?: (() => void);
    onConfirm?: ((value, extend) => void);
    onSelect?: ((value, extend) => void);
    popupClassName?: string;
    popupStyle?: CSSProperties;
    renderLabel?: ((item) => ReactNode);
    title?: ReactNode;
    value?: PickerValue[];
    visible?: boolean;
} & Pick<PopupProps, "onClick" | "forceRender" | "afterClose" | "destroyOnClose" | "getContainer" | "afterShow" | "stopPropagation"> & {
    className?: string;
    style?: CSSProperties & Partial<Record<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height", string>>;
    tabIndex?: number;
} & AriaAttributes & RefAttributes<PickerActions>>

Generated using TypeDoc