jd-solanki / anu

Anu - DX focused utility based vue component library built on top of UnoCSS & VueUse ⚡️🔥

Home Page:https://anu-vue.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Customize Button component's flex direction

larrasu opened this issue · comments

It doesn't override when I apply justify-start class on the component:

<ABtn :icon="item.icon" variant="text" class="w-full justify-start" >{{ item.title }}</ABtn>

image

I was hoping to add a prop for this.

Button is justified to center via justify-center, use !justify-start to override that.

<template>
  <div>
    <ABtn class="w-full !justify-start">
      Primary
    </ABtn>
  </div>
</template>