Skip to content

Variants don't work #263

@the-overdriven

Description

@the-overdriven
<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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions