diff --git a/README.md b/README.md index fad0ba6..d900d5e 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ import ToggleButton from 'vue-js-toggle-button/src/Button' | Name | Type | Default | Description | | --- | --- | --- | --- | | value | Boolean | false | Initial state of the toggle button | -| sync | Boolean | false | If set to `true`, will be watching changes in `value` property and overwrite the current state of the button whenever `value` prop. changes | +| sync | Boolean | false | If set to `true`, will be watching changes in `value` property and overwrite the current state of the button whenever `value` prop changes | | speed | Number | 300 | Transition time for the animation | | disabled | Boolean | false | Button does not react on mouse events | | color | [String, Object] | `#75C791` | If `String` - color of the button when checked
If `Object` - colors for the button when checked/uncheked
Example: `{checked: '#00FF00', unchecked: '#FF0000'}` |