c-text-button
Custom version of v-btn from Vuetify.
Project setup
yarn add c-text-button -D
or
npm i c-text-button --save
Usage example
import textButton from 'c-text-button/src/components/textbutton/textbutton.vue'
<TextButton :bState="false" btnColor="success">Primary</TextButton>
Props
Name | Definiton | Values | Type |
---|---|---|---|
bState | button state of disabled | true | Boolean |
btnColor | color of btn to be shown | success/error/warning/info/secondary | String |
Slots
Name | Definiton | Values | Type |
---|---|---|---|
Primary | Button text to be shown | Text | String |