uiFunctions receive state and routeParams

This commit is contained in:
Michael Shanks 2020-02-21 23:01:16 +00:00
parent c2b2fc3782
commit bd5adc45cb
1 changed files with 1 additions and 1 deletions

View File

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