-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A detail when pasting the button component #3
Comments
Thank you for providing this information! I'll definitely look into it. |
It's because the enhanced-button/src/components/ui/button.tsx Lines 83 to 102 in 5e3be1f
If you wrap everything inside |
@jakobhoeg one thing to mention I just realized after making the PR: So if the child is a And it looks like an issue with Radix. radix-ui/primitives#1825 So probably better to reorganize the Button component. |
First of all your idea is very cool and I love it. The situation is that when I paste the button component that you provide, I save and I get the following error, I have a project with a long and good development, I liked the idea and I wanted to implement some details in the buttons but I get this error...I will try to fix the error but I leave it here in case someone else has the same problem.

Updated: I think the problem is related to the prop "aschild".
The text was updated successfully, but these errors were encountered: