• Parameters

    • props: {
          activeIcon?: ReactNode;
          cancelText?: ReactNode;
          children?: ((items, actions) => ReactNode);
          confirmText?: ReactNode;
          defaultValue?: CheckListValue[];
          fieldNames?: FieldNamesType;
          loading?: boolean;
          onCancel?: (() => void);
          onClose?: (() => void);
          onConfirm?: ((value, extend) => void);
          onSelect?: ((value, extend) => void);
          onTabsChange?: ((index) => void);
          options: CascaderOption[];
          placeholder?: string;
          title?: ReactNode;
          value?: CheckListValue[];
          visible?: boolean;
      } & Pick<PopupProps, "onClick" | "forceRender" | "afterClose" | "destroyOnClose" | "getContainer" | "afterShow" | "stopPropagation"> & {
          className?: string;
          style?: CSSProperties & Partial<Record<never, string>>;
          tabIndex?: number;
      } & AriaAttributes & RefAttributes<CascaderActions>

    Returns ReactNode

Properties

$$typeof: symbol
defaultProps?: Partial<{
    activeIcon?: ReactNode;
    cancelText?: ReactNode;
    children?: ((items, actions) => ReactNode);
    confirmText?: ReactNode;
    defaultValue?: CheckListValue[];
    fieldNames?: FieldNamesType;
    loading?: boolean;
    onCancel?: (() => void);
    onClose?: (() => void);
    onConfirm?: ((value, extend) => void);
    onSelect?: ((value, extend) => void);
    onTabsChange?: ((index) => void);
    options: CascaderOption[];
    placeholder?: string;
    title?: ReactNode;
    value?: CheckListValue[];
    visible?: boolean;
} & Pick<PopupProps, "onClick" | "forceRender" | "afterClose" | "destroyOnClose" | "getContainer" | "afterShow" | "stopPropagation"> & {
    className?: string;
    style?: CSSProperties & Partial<Record<never, string>>;
    tabIndex?: number;
} & AriaAttributes & RefAttributes<CascaderActions>>
displayName?: string

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

optionSkeleton: CascaderOption[]
prompt: ((props) => Promise<CheckListValue[] | null>)

Type declaration

propTypes?: WeakValidationMap<{
    activeIcon?: ReactNode;
    cancelText?: ReactNode;
    children?: ((items, actions) => ReactNode);
    confirmText?: ReactNode;
    defaultValue?: CheckListValue[];
    fieldNames?: FieldNamesType;
    loading?: boolean;
    onCancel?: (() => void);
    onClose?: (() => void);
    onConfirm?: ((value, extend) => void);
    onSelect?: ((value, extend) => void);
    onTabsChange?: ((index) => void);
    options: CascaderOption[];
    placeholder?: string;
    title?: ReactNode;
    value?: CheckListValue[];
    visible?: boolean;
} & Pick<PopupProps, "onClick" | "forceRender" | "afterClose" | "destroyOnClose" | "getContainer" | "afterShow" | "stopPropagation"> & {
    className?: string;
    style?: CSSProperties & Partial<Record<never, string>>;
    tabIndex?: number;
} & AriaAttributes & RefAttributes<CascaderActions>>

Generated using TypeDoc