1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

uiFunctions receive state and routeParams

This commit is contained in:
Michael Shanks 2020-02-21 23:01:16 +00:00
parent e24bdec1f9
commit 0902febc00

View file

@ -27,7 +27,7 @@ export const buildCodeForScreens = screens => {
}
const buildComponentCode = componentProps =>
`"${componentProps._id}" : (render, context) => {
`"${componentProps._id}" : (render, context, state, routeParams) => {
${componentProps._code}
},
`