Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Looks good - does it support callback props, and how do you enter them?


It pretty much supports anything that React supports, but it's not possible to pass callback props in directly via Puck's authoring form.

However, you might be able to either wrap your component inside the `render` function and define your callback there, or use context to pass in a function from higher up the tree.

If you share your use case, I might be be able to help you out.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: