@@ -45,20 +45,28 @@ The switch is {checkedValue ? 'on' : 'off'}.
45
45
46
46
### Props
47
47
48
- | Prop Name | Description | Default Value |
49
- | --------------------- | ---------------------------------------------------------------------------------------- | ------------- |
50
- | accept | Set accepted file types. See https://github.com/okonet/attr-accept for more information. | undefined |
51
- | disabled | | false |
52
- | maxSize | | Infinity |
53
- | minSize | | 0 |
54
- | multiple | if true, multiple files can be selected at once | true |
55
- | preventDropOnDocument | 1231 | true |
56
- | noClick | disable click events | false |
57
- | noKeyboard | disable keyboard events | false |
58
- | noDrag | disable drag events | false |
59
- | containerClasses | custom container classes | "" |
60
- | containerStyles | custom inline container styles | "" |
61
- | disableDefaultStyles | don't apply default styles to container | false |
48
+ | Prop Name | Description | Default Value |
49
+ | --------------- | -------------- | ------------------ |
50
+ | checked | Required field | undefined |
51
+ | disabled | | false |
52
+ | offColor | | "#888 " |
53
+ | onColor | | "#080 " |
54
+ | offHandleColor | | "#fff" |
55
+ | onHandleColor | | "#fff" |
56
+ | handleDiameter | | 0 |
57
+ | boxShadow | | null |
58
+ | activeBoxShadow | | "0 0 2px 3px #3bf" |
59
+ | height | | 28 |
60
+ | width | | 56 |
61
+ | id | | '' |
62
+ | containerClass | | '' |
63
+
64
+ ### Slots
65
+
66
+ | Slot Name | Description | Default Set? |
67
+ | ------------- | ----------- | ------------ |
68
+ | checkedIcon | | Yes |
69
+ | unCheckedIcon | | Yes |
62
70
63
71
### Events
64
72
0 commit comments