ywana-core8 0.0.165 → 0.0.169
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +1 -1
package/package.json
CHANGED
package/src/domain/TablePage.js
CHANGED
@@ -106,7 +106,7 @@ export const TablePage = (props) => {
|
|
106
106
|
function renderActions() {
|
107
107
|
return actions.map(element => {
|
108
108
|
const action = () => element.props.action(pageContext)
|
109
|
-
const clone = React.cloneElement(element,
|
109
|
+
const clone = React.cloneElement(element, { action })
|
110
110
|
return clone
|
111
111
|
})
|
112
112
|
}
|