0.0.3 • Published 6 years ago
@urbanhire.com/button v0.0.3
UHButton Component
Installing
npm i @urbanhire.com/buttonUsage
<template>
<UHButton
label="Submit"
/>
</template>
<script>
import UHButton from '@urbanhire.com/button'
export default {
components: {
UHButton
}
}
</script>Props & Methods
| Prop name | Type | Default | Description |
|---|---|---|---|
| id | String | The ID is Unique | |
| label | String | ||
| className | String | ||
| isDisabled | Boolean | false | |
| isWaiting | Boolean | false | |
| color | String | default | One of : default, firm, median, prime, success, danger, disabled |
| size | String | normal | One Of : small, large , ' ' |
| icon | String | ||
| iconPosition | String | One Of : left, right | |
| fullWidth | Boolean |
LICENSE
AUTHORS
@riskinputra - idea & initial work