🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

nw-dialog1

Package Overview
Dependencies
Maintainers
8
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nw-dialog1

对话框组件

latest
npmnpm
Version
2.2.4
Version published
Maintainers
8
Created
Source

nw-dialog

对话框组件

最基础的对话框组件,只负责布局,样式可以定制

安装

$ yarn add nw-dialog

example


class App extends Component {
    render() {
        return (
            <Dialog {...props}>
                <div className="goldenDialog">
                    {children}
                    <div className="dialog-footer"><button onClick={props.requestClose} type="button" className="dialog-button">我知道了</button></div>
                </div>
            </Dialog>
        )
    }
}

API

Dialog

Dialog

Kind: global class

FAQs

Package last updated on 30 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts