Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have a way to pass trough custom props to RenderCmsComponent #14

Closed
TimoWestland opened this issue Oct 11, 2018 · 1 comment
Closed

Comments

@TimoWestland
Copy link
Contributor

As discussed in #12, it would be really nice to have a way to pass trough props to RenderCmsComponent like so:

  <RenderCmsComponent labels={labels} request={request} />

And then have them spread onto the component that gets rendered in container-item.js

For example:

  <Example component {...this.props} />
@dokmic
Copy link
Contributor

dokmic commented Nov 19, 2019

Hey @TimoWestland,

We will not be able to implement this feature because this library is under the maintenance stage at the moment, and we can only do security and bug fixes.

I would recommend using Higher-Order Components or React Context to work this problem around.

@dokmic dokmic closed this as completed Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants