【文件属性】:
文件名称:react-redux-modal-flex:[已弃用]使用Redux简化模式弹出式窗口
文件大小:108KB
文件格式:ZIP
更新时间:2021-04-29 16:41:04
react redux alert modal dialog
[不推荐使用] REACT-REDUX-MODAL-FLEX
使用Redux轻松制作模态/弹出窗口。
:warning: 这仅适用于React 16.3+ :warning:
如果您正在寻找React 16.2的版本(针对单个页面),请使用分支。
演示版
特征
React灵敏
通过轻松自定义animation效果
安装
要安装稳定版本,可以使用:
$ yarn add react-redux-modal-flex
例子
步骤1:
rootReducer.js
import { combineReducers } from "redux" ;
import { reducer as modal } from "react-redux-modal-flex" ;
import todos from "./todos" ;
export default combineReducers ( {
todos
【文件预览】:
react-redux-modal-flex-master
----.gitignore(208B)
----.babelrc(88B)
----package.json(2KB)
----src()
--------components()
--------index.js(146B)
--------Modal.jsx(2KB)
--------modules()
--------styled.js(553B)
----webpack.config.js(2KB)
----LICENSE(1KB)
----README.md(4KB)
----example()
--------index.js(484B)
--------Fork.jsx(1KB)
--------index.html(333B)
--------App.jsx(2KB)
--------ModalSample.jsx(339B)
--------store()
--------styles.css(2KB)
----yarn.lock(237KB)