magicuidesign / magicui

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
https://magicui.design
MIT License
12.11k stars 485 forks source link

Add motion button props to shiny button #358

Closed denispaluca closed 2 weeks ago

denispaluca commented 1 month ago

Currently you cannot use the property onClick for ShinyButton. Since the rest of the props (...props) are passed to motion.button, I extended ShinyButtonProps with HTMLMotionProps<"button">.

vercel[bot] commented 1 month ago

@denispaluca is attempting to deploy a commit to the product-studio Team on Vercel.

A member of the Team first needs to authorize it.

itsarghyadas commented 2 weeks ago

Thanks for your contribution! We're merging it. LGTM ✅