Skip to content

[Button] currently not accepting className props #140

@nshganesh

Description

@nshganesh
mannequin

className props will help button positioning
To render two buttons on the same line, one ways to approach currently is to wrap it inside a div and attaching required styling

<div className="flex">
   <Button />

   <div className="ml2">
     <Button />
   </div>
</div>

Feels unnecessary to wrap it inside a div for this small requirement. We can avoid the extra element too by passing className prop directly to button

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions