在此命令中:
const createRegionsEditor = (onUpdate, props) => (<RegionsEditor onUpdate={ onUpdate } {...props}/>);is onUpdate of
RegionsEditor onUpdate指的是事件还是RegionsEditor的道具?
我在第93行的自定义单元格编辑下找到了代码:http://allenfang.github.io/react-bootstrap-table/example.html#celledit
发布于 2017-05-02 06:00:53
它的类型看起来像一个函数。
不管它是什么类型,它都是一个属性。
这不是一个本地事件。因此,它可能是一个在<RegionsEditor />中发生什么事情时都会被调用的函数。
您需要查看您正在使用的任何包的文档,或者只查看源代码……
https://stackoverflow.com/questions/43726998
复制相似问题