• Version 8.6.0
  • Published
  • 61.4 kB
  • 4 dependencies
  • MIT license


npm i rc-dialog
yarn add rc-dialog
pnpm add rc-dialog


dialog ui component for react



Type Aliases


variable DialogWrap

const DialogWrap: any;

    Type Aliases

    type DialogProps

    type IDialogPropTypes = {
    className?: string;
    keyboard?: boolean;
    style?: CSSProperties;
    mask?: boolean;
    children?: any;
    afterClose?: () => any;
    onClose?: (e: SyntheticEvent) => any;
    closable?: boolean;
    maskClosable?: boolean;
    visible?: boolean;
    destroyOnClose?: boolean;
    mousePosition?: {
    x: number;
    y: number;
    } | null;
    title?: ReactNode;
    footer?: ReactNode;
    transitionName?: string;
    maskTransitionName?: string;
    animation?: any;
    maskAnimation?: any;
    wrapStyle?: Record<string, any>;
    bodyStyle?: Record<string, any>;
    maskStyle?: Record<string, any>;
    prefixCls?: string;
    wrapClassName?: string;
    width?: string | number;
    height?: string | number;
    zIndex?: number;
    bodyProps?: any;
    maskProps?: any;
    wrapProps?: any;
    getContainer?: GetContainer | false;
    closeIcon?: ReactNode;
    modalRender?: (node: ReactNode) => ReactNode;
    forceRender?: boolean;
    focusTriggerAfterClose?: boolean;

      Package Files (3)

      Dependencies (4)

      Dev Dependencies (29)

      Peer Dependencies (2)


      To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

      You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/rc-dialog.

      • Markdown
      • HTML
        <a href="https://www.jsdocs.io/package/rc-dialog"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>