# mint-spinner
> spinner.
## Install
```shell
npm i mint-spinner -S
```
## Required
```shell
npm i babel-plugin-component -D
```
## Usage
import all spinner
```javascript
import Vue from 'vue';
import Spinner from 'mint-spinner';
Vue.use(Spinner);
```
```html
```
import one spinner
```javascript
import Vue from 'vue';
import { DoubleBounce } from 'mint-spinner';
Vue.component(DoubleBounce.name, DoubleBounce);
```
```html
```
.babelrc
```json
{
"plugins": [
"xxx",
["component", [
{
"libraryName": "mint-spinner",
"style": true
}
]
]
]
}
```
**`import Spinner from 'mint-spinner'` and `import { DoubleBounce } from 'mint-spinner'` can not be used together.**.
## Spinner
- snake
- double-bounce
- triple-bounce
- fading-circle
## API
### color
- type: String
### size
- type: Number
### type
- type: String|Number
```html
```
## Development
```shell
make dev
```
## Production
```
make dist
```
## License
MIT