toReact的敬酒通知系统-React开发

时间:2021-05-27 14:44:37
【文件属性】:
文件名称:toReact的敬酒通知系统-React开发
文件大小:356KB
文件格式:ZIP
更新时间:2021-05-27 14:44:37
React CSS / Style React Toast Notifications一个用于React的可配置,可组合的Toast通知系统。 https://jossmac.github.io/react-toast-notifications安装yarn add react-toast-notifications使用打包React Toast通知一个可配置的,可组合的Toast通知系统,用于进行React。 https://jossmac.github.io/react-toast-notifications安装yarn add react-toast-notifications使用将应用程序包装在ToastProvider中,该程序为Toast后代提供了上下文。 从'react-toast-notifications'导入{ToastProvider,useToasts} const FormWithToasts =()=> {const {addToast} = useToasts()const onSubmit =异步值=> {const {error} =等待dataPersistenc
【文件预览】:
react-toast-notifications-master
----.flowconfig(58B)
----yarn.lock(255KB)
----webpack.config.js(954B)
----src()
--------icons.js(2KB)
--------utils.js(279B)
--------ToastController.js(3KB)
--------colors.js(3KB)
--------ToastContainer.js(1KB)
--------ToastElement.js(7KB)
--------ToastProvider.js(8KB)
--------index.js(225B)
--------types.js(748B)
----.babelrc(166B)
----.npmignore(51B)
----examples()
--------src()
----LICENSE(1KB)
----README.md(6KB)
----index.d.ts(3KB)
----.gitignore(119B)
----index.js(33B)
----package.json(2KB)

网友评论