ywana-core8 0.0.145 → 0.0.146
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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/checkbox.js +2 -2
package/package.json
CHANGED
package/src/html/checkbox.js
CHANGED
@@ -19,13 +19,13 @@ export const CheckBox = (props) => {
|
|
19
19
|
return value === true ? (
|
20
20
|
<div className="checkbox" key={`${id}1`}>
|
21
21
|
<input id={id} type="checkbox" placeholder={placeholder} checked value={value} onChange={change} />
|
22
|
-
<span
|
22
|
+
<span className="checkmark" />
|
23
23
|
<label htmlFor={id}>{labelTxt}</label>
|
24
24
|
</div>
|
25
25
|
) : (
|
26
26
|
<div className="checkbox" key={`${id}0`}>
|
27
27
|
<input id={id} type="checkbox" placeholder={placeholder} value={value} onChange={change} />
|
28
|
-
<span
|
28
|
+
<span className="checkmark" />
|
29
29
|
<label htmlFor={id}>{labelTxt}</label>
|
30
30
|
</div>
|
31
31
|
)
|