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

Variants don't work #263

Open
the-overdriven opened this issue Oct 17, 2022 · 0 comments
Open

Variants don't work #263

the-overdriven opened this issue Oct 17, 2022 · 0 comments

Comments

@the-overdriven
Copy link

the-overdriven commented Oct 17, 2022

<t-button variant="danger">Delete</t-button>
<t-button variant="error">Delete</t-button>
<t-button variant="secondary">Delete</t-button>
<t-button variant="primary">Delete</t-button>

None of these work for me. Passing a variant removes all default classes. Only if I don't pass any variant it will render something that looks like a button.

Are docs even up to date?

You provide an example https://www.vue-tailwind.com/docs/button with different radio buttons but without any code (usage example). Except "basic example" which doesn't showcase any attributes.

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

No branches or pull requests

1 participant