CreateRender passing more then one value. #74
-
Can I pass more then one value using Create Render. I need it too perform an action. table.column({
header: ' ',
accessor: 'user_id',
cell: ({value, item}) =>
createRender(GetFilesActions, {user_id: value, name: item.name}),
}), Doesn't seem to like my code |
Beta Was this translation helpful? Give feedback.
Answered by
bryanmylee
Oct 12, 2022
Replies: 1 comment 3 replies
-
Hi @rgfx, it should work as long as the As for passing more than one value, are you trying to pass more than one component as the rendered component? |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
bryanmylee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @rgfx, it should work as long as the
GetFilesActions
component has the right prop types. What's the issue you seem to be getting?As for passing more than one value, are you trying to pass more than one component as the rendered component?