1.1.2 • Published 4 years ago
anim-counter v1.1.2
Anim Counter

Usage guide
import AnimCounter from 'anim-counter';
Props
| Default value | Value type | |
|---|---|---|
| defaultValue | 0 | number |
| disabled | 'false' | boolean |
| duration | 150 | number |
| minusIcon | svg icon | any |
| minusDisabled | false | boolean |
| plusIcon | svg icon | any |
| plusDisabled | false | boolean |
| onChange | undefined | (newValue) => void |
Classnames
| Info | |
|---|---|
| classes.root | Root of component |
| classes.labelWrapper | Wrapper of label |
| classes.label | Counter label |
| classes.minus | Minus button |
| classes.plus | Plus button |