【文件属性】:
文件名称:react-bootstrap-confirm:确认对话框以进行引导模态
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-14 07:33:47
JavaScript
react-bootstrap-confirm
确认对话框以进行引导模态React。
例子
import React , { PropTypes } from 'react'
import Confirm from 'react-bootstrap-confirm'
class App extends React . Component {
componentDidMount ( ) {
this . refs . confirm
. show ( 'are you sure?' )
. then ( ( ) => {
//after sure
} )
. catch ( ( ) => {
//after cancel
} )
}
【文件预览】:
react-bootstrap-confirm-master
----store.jsx(504B)
----index.js(5KB)
----package.json(1KB)
----index.jsx(135B)
----alt.jsx(65B)
----gulpfile.js(225B)
----LICENSE(1KB)
----component.jsx(1KB)
----.gitignore(526B)
----webpack.config.js(763B)
----README.md(1KB)
----actions.jsx(341B)