interactions:像老板一样称呼莫代尔

时间:2021-05-04 05:49:04
【文件属性】:
文件名称:interactions:像老板一样称呼莫代尔
文件大小:175KB
文件格式:ZIP
更新时间:2021-05-04 05:49:04
alert react-components prompt confirm rsuite RSuite互动 像老板一样称呼RSuite Modals。 npm install @rsuite/interactions --save 特征 您已经知道如何轻松调用alert() , confirm() ,hint prompt()样式模态。 等待它们的返回值。 多个呼叫排队。 原料药 alert 像使用window.alert()一样使用它,然后可以等待它。 const buyNewPhone = useCallback ( async ( ) => { await alert ( "Congrats! You've got a new iPhone!" ) ; console . log ( 'alert closed' ) ; } , [ ] ) ; 签名 alert ( message ?: React . ReactNode , modalConf
【文件预览】:
interactions-master
----.gitignore(657B)
----.babelrc(1KB)
----package.json(4KB)
----package-lock.json(662KB)
----src()
--------InteractionManager.js(1KB)
--------alert.js(1KB)
--------index.js(395B)
--------utils.js(200B)
--------getContainerDOM.js(173B)
--------prompt.js(2KB)
--------confirm.js(1KB)
--------InteractionModal.js(3KB)
----webpack.config.js(2KB)
----jest.config.js(65B)
----LICENSE(1KB)
----.github()
--------workflows()
----.prettierignore(59B)
----__tests__()
--------InteractionManager.js(889B)
--------alert.js(2KB)
--------prompt.js(5KB)
--------confirm.js(5KB)
--------InteractionModal.js(4KB)
----.eslintrc.js(3KB)
----README.md(4KB)
----.eslintignore(27B)
----jest.setup.js(564B)
----docs()
--------gh-pages.js(218B)
--------index.js(6KB)
--------index.html(266B)
--------styles.less(210B)
----.prettierrc(63B)
----index.d.ts(942B)

网友评论