@dpa-id-components/ui-spinner
v0.1.0
Published
UiSpinner vue component with dpa Design Kit
Downloads
2
Maintainers
Keywords
Readme
@dpa-id-components/ui-spinner
UiSpinner
Vue 2.x input component based on the dpa Design Kit
Installation
yarn add @dpa-id-components/ui-spinner
Usage
<!-- SomeComponent.vue using UiSpinner -->
<template>
<ui-spinner :color="blue" />
</template>
<script>
import UiSpinner from "@dpa-id-components/ui-spinner";
import "@dpa-id-components/ui-spinner/dist/UiSpinner.css";
export default {
components: {
UiSpinner,
}
};
</script>
Demo
View a demo of <ui-spinner>
on Storybook
API
Props
| Name | Type | Default | Description |
| --------------- | --------- | ------- |---------------------------------------------------------------- |
| color
| String
| blue
| Sets the color
attribute of the Button: "blue" or "white"
|