Skip to content
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

feat(button): add to prop type #7077

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Conversation

J-Michalek
Copy link
Contributor

@J-Michalek J-Michalek commented Jan 12, 2025

The docs do show that the "to" prop is usable on the button, but the types don't support it, making it hard to use in typed components.

Ideally it would support all of the options that Vue Router accepts, but we would need the types from the Vue Router package which would have to be present on this project - out of my comfort zone with this repo for now, maybe a generic object type would atleast make it possible to use.

https://primevue.org/button/#link

The docs do show that the "to" prop is usable on the button, but the types don't support it, making it hard to use in types components.

https://primevue.org/button/#link
Copy link

vercel bot commented Jan 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Updated (UTC)
primevue ⬜️ Ignored (Inspect) Visit Preview Jan 12, 2025 6:55pm
primevue-v3 ⬜️ Ignored (Inspect) Visit Preview Jan 12, 2025 6:55pm

@tugcekucukoglu tugcekucukoglu merged commit 13e391f into primefaces:master Jan 14, 2025
2 of 4 checks passed
@J-Michalek J-Michalek deleted the patch-1 branch January 14, 2025 06:27
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