@colisweb/rescript-toolkit 5.23.0 → 5.23.1
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
CHANGED
|
@@ -77,6 +77,7 @@ let make = (
|
|
|
77
77
|
className={"absolute right-1 z-20 bg-info-100 text-info-600 text-sm rounded px-1.5 py-0.5 inline-flex items-center gap-2"}
|
|
78
78
|
onClick={event => {
|
|
79
79
|
event->JsxEventC.Mouse.stopPropagation
|
|
80
|
+
onChange([])
|
|
80
81
|
setSelectedOptions(_ => [])
|
|
81
82
|
}}>
|
|
82
83
|
{options->Array.length->React.int}
|
|
@@ -152,6 +152,7 @@ let make = (
|
|
|
152
152
|
className={"absolute right-1 z-20 bg-info-100 text-info-600 text-sm rounded px-1.5 py-0.5 inline-flex items-center gap-2"}
|
|
153
153
|
onClick={event => {
|
|
154
154
|
event->JsxEventC.Mouse.stopPropagation
|
|
155
|
+
onValidate([])
|
|
155
156
|
setSelectedOptions(_ => [])
|
|
156
157
|
}}>
|
|
157
158
|
{options->Array.length->React.int}
|