
Security News
pnpm 10.12 Introduces Global Virtual Store and Expanded Version Catalogs
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
dialog-react
Advanced tools
Toast
Confirm
ConfirmAuto
Prompt
Notification
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 2 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
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.
Security News
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.