Skip to content

Button variant should be property #254

Description

@abdullahtellioglu

It is not intuitive to set the primary variant via theme property.

Non-intuitive:

<Button theme={"primary"} onClick={() => setEveryone(false)}>

Intuitive:

<Button primary onClick={() => setEveryone(false)}>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions