You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Hey! First of all, a very clean library, so thank you for creating it. So far, there's only one thing I'm missing. If you've used packages such as @headlessui/react, they allow you to pass custom components throughout the library using the as prop. See the docs for <MenuButton /> for example.
Describe the solution you'd like
I'd like a similar feature as I have my fancy button with extra functionality and I am unable to use it as a dropdown trigger. Even if I pass it as a child, it still does't work and it creates invalid HTML since nesting two <button> tags is illegal.
Describe alternatives you've considered
Painfully using class and custom children logic to recreate an existing button.
Additional context
none
The text was updated successfully, but these errors were encountered:
Oh awesome @GiyoMoon! In that case I'd consider mentioning it explicitly as part of every API as that's what I've been looking at and hence missed it. What do you think?
Is your feature request related to a problem? Please describe.
Hey! First of all, a very clean library, so thank you for creating it. So far, there's only one thing I'm missing. If you've used packages such as
@headlessui/react
, they allow you to pass custom components throughout the library using theas
prop. See the docs for<MenuButton />
for example.Describe the solution you'd like
I'd like a similar feature as I have my fancy button with extra functionality and I am unable to use it as a dropdown trigger. Even if I pass it as a child, it still does't work and it creates invalid HTML since nesting two
<button>
tags is illegal.Describe alternatives you've considered
Painfully using
class
and custom children logic to recreate an existing button.Additional context
The text was updated successfully, but these errors were encountered: