Skip to content

Commit 2b1ae4c

Browse files
committed
updated readme
1 parent 8d860d2 commit 2b1ae4c

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
@@ -48,6 +48,7 @@ Use:
4848
| 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'}` |
4949
| cssColors | Boolean | false | If `true` - deactivates the setting of colors through inline styles in favor of using CSS styling |
5050
| 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'}` |
51+
| buttonColor | [String, Object] | `#BFCBD9` | If `String` - color of the switch when checked <br>If `Object` - colors for the switch when checked/uncheked <br>Example: `{checked: '#25EF02', unchecked: '#EF1E02'}` |
5152
| width | Number | 50 | Width of the button, default is 50 |
5253
| height | Number | 22 | Height of the button, default is 22 |
5354

0 commit comments

Comments
 (0)