Pass props and callbacks to and from header, footer, and sheet content #607
MisterMunchkin
started this conversation in
Ideas
Replies: 1 comment
-
|
nvm, I've realised useImperativeHandle works fine for this setup |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way we can possibly pass callbacks from footer to the sheet content?
A use case for me right now is if I have a react-hook-form within my sheet content, but I want the apply button to be on the footer.
If I could set param types to be passed to the footer and have a hook that I can link it to within my content I think this could work?
Beta Was this translation helpful? Give feedback.
All reactions