【文件属性】:
文件名称:react-modal:React Meteor 的简单模态
文件大小:2KB
文件格式:ZIP
更新时间:2021-07-16 15:35:47
JavaScript
React模式
React Meteor 的简单模式。
例子
对于这个例子,你必须meteor add miguelalarcos:react-model-mixins 。
DemoModal = React . createClass
mixins : [ RMMx . changeDatatMx ]
ok : ->
@props . okCallback ( @state . file )
modal . close ()
cancel : ->
modal . close ()
getInitialState : ->
file : @props . file
render : ->
< div>
< input type = ' te
【文件预览】:
react-modal-master
----package.js(931B)
----README.md(911B)
----react-modal.styl(279B)
----react-modal.cjsx(605B)
----react-modal-tests.js(121B)