
Security News
Researcher Exposes Zero-Day Clickjacking Vulnerabilities in Major Password Managers
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
dialog-react
Advanced tools
npm install --save-dev dialog-react style-loader css-loader
// add loader
{
test: /\.css$/,
loader: "style-loader!css-loader"
}
import {Toast, Confirm, Prompt, ConfirmAuto, Notificaion} from "dialog-react"
many or one more
<Toast
content="测试用例"
show={this.state.showDialog}
long={1}
close={() => this.setState({showDialog: false})} />
<Confirm
content="测试用例"
confirm="好的"
show={this.state.showDialog}
close={() => this.setState({showDialog: false})} />
<Prompt
content="测试用例"
confirm="好的"
other="重新输入"
show={this.state.showDialog}
fun={() => this.setState({showDialog: false})}
close={() => this.setState({showDialog: false})} />
<ConfirmAuto
content="测试用例"
show={this.state.showDialog}
close={() => this.setState({showDialog: false})} />
<Notification
content={this.state.content}
fun={_funClick}
funName="下一条"
show={this.state.showDialog}
close={() => this.setState({showDialog: false})}/>
FAQs
toast confirm prompt confirmAuto
The npm package dialog-react receives a total of 15 weekly downloads. As such, dialog-react popularity was classified as not popular.
We found that dialog-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.