ywana-core8 0.0.80 → 0.0.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/html/switch.js +12 -2
package/package.json
CHANGED
package/src/html/switch.js
CHANGED
@@ -4,6 +4,16 @@ import RSwitch from 'react-switch'
|
|
4
4
|
export const Switch = (props) => {
|
5
5
|
|
6
6
|
return (
|
7
|
-
<RSwitch {...props}
|
8
|
-
|
7
|
+
<RSwitch {...props}
|
8
|
+
onColor="#86d3ff"
|
9
|
+
onHandleColor="#2693e6"
|
10
|
+
handleDiameter={30}
|
11
|
+
uncheckedIcon={false}
|
12
|
+
checkedIcon={false}
|
13
|
+
boxShadow="0px 1px 5px rgba(0, 0, 0, 0.6)"
|
14
|
+
activeBoxShadow="0px 0px 1px 10px rgba(0, 0, 0, 0.2)"
|
15
|
+
height={20}
|
16
|
+
width={48}
|
17
|
+
className="react-switch"
|
18
|
+
/>
|
9
19
|
}
|