0.1.10 • Published 7 years ago
c-icon-button v0.1.10
c-icon-button
Custom version of v-btn from Vuetify.
Project setup
yarn add c-icon-button -Dor
npm i c-icon-button --save-devUsage example
import IconButton from 'c-icon-button/src/components/iconbutton/iconbutton.vue'<IconButton :iState="false" iconColor="success">search</IconButton>Props
| Name | Definiton | Values | Type |
|---|---|---|---|
| iState | button state of disabled | true | Boolean |
| iconColor | color of btn to be shown | success/error/warning/info/secondary | String |
##Slots
| Name | Definiton | Values | Type |
|---|---|---|---|
| search | Icon text that generate icons | search/check/priority_high/delete/close | String |