Corvu Dialog
Hi everyone
How I can receive the
Dialog.Trigger
from the @corvu/dialog
by props?
Basically what I want is customize the button that is rendered on the Dialog.Trigger
5 Replies
I don't fully understand what you want to accomplish, could you elaborte? Describing your use-case would be helpful I think.
so basically, I want to have a component of dialog that will receive the button to customize the trigger
with Radix I can use
asChild
and a pass a ReactNode
but don't know how to do itoh, have a look at this: https://corvu.dev/docs/dynamic-components/#solid-components
thats a nice api
Any idea why the dialog doesn't close when I press the escape key?