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

[Feature Request] Polymorphic Components as Component #20806

Open
imnash21 opened this issue Dec 27, 2024 · 0 comments
Open

[Feature Request] Polymorphic Components as Component #20806

imnash21 opened this issue Dec 27, 2024 · 0 comments

Comments

@imnash21
Copy link

Problem to solve

Request: Polymorphic Components like VBtn that can handle a component in "tag" prop not only a string.

Because sometimes we need the component like "Link" from Inertiajs to be a VBtn.

Example:
<VBtn :tag="Link" href="/logout" method="post" as="button" text="Logout" />

Proposed solution

Make the "tag" prop that can handle a component too not only a string.

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

No branches or pull requests

1 participant