【文件属性】:
文件名称:teselagen-react-components:在teselagen应用程序之间共享的React组件
文件大小:483KB
文件格式:ZIP
更新时间:2021-02-12 07:01:20
JavaScript
TeselaGenReact组件
演示: :
使用:
yarn add teselagen-react-components
添加对等依赖性:
yarn add @blueprintjs/core @blueprintjs/datetime @blueprintjs/select react-addons-css-transition-group react-redux redux
增强剂:
withDialog
withDialog()(YourComponent)将YourComponent包装在一个蓝图对话框中!
首先将对话框连接到redux(只需执行一次):
//rootReducer.js
import { tg_modalState } from 'teselagen-react-components'
export default combineReducer