Closed seb-jean closed 3 months ago
Nope as you call MenuButton, so this is the component name/class.
I guess for children you could pass component name and call it with the twig function ?
Yes, that's what I was telling myself to pass component name and call it with the twig function.
Can i close ? :)
It's linked to https://github.com/symfony/ux/issues/1922 so :)
Hello,
I would like to know if it is possible to pass Components as Props. Example with Headless UI:
<MenuButton as={MyCustomButton}>My account</MenuButton>