c-pill
Custom version of v-chip from Vuetify.
Project setup
yarn add c-pill -D
or
npm i c-pill --save-dev
Usage example
import pills from "c-pill/src/components/c-pills.vue";
<pills type="blue" text="Yes"/>
Props
Name | Definiton | Values | Type | Default |
---|---|---|---|---|
type | Pill type to be shown | blue , green , orange , red , grey , default | String | default |
text | Pill text to be shown | Any string | String | Default |