@councilbox/councilbox-ui 2.0.49 → 2.0.50
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.
|
@@ -16,7 +16,7 @@ a.noStyles:hover{
|
|
|
16
16
|
`}</style>
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
# Librería de componentes ui-councilbox NEW v2.0.
|
|
19
|
+
# Librería de componentes ui-councilbox NEW v2.0.50 🎉
|
|
20
20
|
|
|
21
21
|
<h2>Componentes:</h2>
|
|
22
22
|
<div><a class='noStyles' href='/story/components-accordion--default'>Accordion</a></div>
|
|
@@ -71,7 +71,7 @@ var Toggle = function Toggle(_ref) {
|
|
|
71
71
|
var handleChange = function handleChange(event) {
|
|
72
72
|
if (disabled) return;
|
|
73
73
|
var newChecked = event.target.checked;
|
|
74
|
-
if (controlled) setChecked(newChecked);
|
|
74
|
+
if (!controlled) setChecked(newChecked);
|
|
75
75
|
|
|
76
76
|
if (onChange) {
|
|
77
77
|
onChange(event, newChecked);
|