Skip to content

Conversation

@boristenkes
Copy link

@boristenkes boristenkes commented Dec 15, 2025

Export ButtonProps type from button.tsx to make creating custom components that extend Button easier (e.g. SubmitButton, LogoutButton, ...)

@vercel
Copy link
Contributor

vercel bot commented Dec 15, 2025

@boristenkes is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@abernier
Copy link

abernier commented Dec 15, 2025

why not just using ComponentProps<typeof Button>?

@boristenkes
Copy link
Author

why not just using ComponentProps<Button>?

Good point. I still find this easier and cleaner though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants