Skip to content

Commit 1c09a4e

Browse files
authored
Merge pull request #32 from Artem-Schander/patch-1
Update README.md
2 parents 889ec7a + a272df5 commit 1c09a4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Use:
3838
| --- | --- | --- | --- |
3939
| value | Boolean | false | Initial state of the toggle button |
4040
| 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 |
41+
| speed | Number | 300 | Transition time for the animation |
4142
| disabled | Boolean | false | Button does not react on mouse events |
4243
| color | [String, Object] | `#75C791` | if `String` - color of the button when checked <br>If `Object` - colors for the button when checked/uncheked <br>Example: `{checked: '#00FF00', unchecked: '#FF0000'}` |
4344
| labels | [Boolean, Object] | false | If `Boolean` - shows/hides default labels ("on" and "off") <br>If `Object` - sets custom labels for both states. <br>Example: `{checked: 'Foo', unchecked: 'Bar'}` |

0 commit comments

Comments
 (0)