GrowwOld/ui-toolkit

[Button] currently not accepting className props

nshganesh opened this issue · 0 comments

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