rmc-dialog

  • Version 1.1.1
  • Published
  • 63.5 kB
  • 2 dependencies
  • MIT license

Install

npm i rmc-dialog
yarn add rmc-dialog
pnpm add rmc-dialog

Overview

mobile dialog ui component for react

Index

Functions

function noop

noop: () => void;

    Classes

    class DialogWrap

    class DialogWrap extends React.Component<IDialogPropTypes, any> {}

      property container

      container: any;

        property defaultProps

        static defaultProps: {
        visible: boolean;
        prefixCls: string;
        onClose: typeof noop;
        };

          property getComponent

          getComponent: (visible: any) => JSX.Element;

            property getContainer

            getContainer: () => any;

              property removeContainer

              removeContainer: () => void;

                property saveRef

                saveRef: (node: any) => void;

                  method componentDidMount

                  componentDidMount: () => void;

                    method componentDidUpdate

                    componentDidUpdate: () => void;

                      method componentWillUnmount

                      componentWillUnmount: () => void;

                        method render

                        render: () => any;

                          method renderDialog

                          renderDialog: (visible: any) => void;

                            method shouldComponentUpdate

                            shouldComponentUpdate: ({ visible }: { visible: any }) => boolean;

                              Package Files (1)

                              Dependencies (2)

                              Dev Dependencies (16)

                              Peer Dependencies (0)

                              No peer dependencies.

                              Badge

                              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/rmc-dialog.

                              • Markdown
                                [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/rmc-dialog)
                              • HTML
                                <a href="https://www.jsdocs.io/package/rmc-dialog"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>