@colisweb/rescript-toolkit 2.50.1 → 2.50.2
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
|
@@ -13,6 +13,7 @@ type optionMessageCb = {inputValue: string}
|
|
|
13
13
|
module ReactSelect = {
|
|
14
14
|
@module("react-select") @react.component
|
|
15
15
|
external make: (
|
|
16
|
+
~defaultMenuIsOpen: option<bool>=?,
|
|
16
17
|
~name: string,
|
|
17
18
|
~autoFocus: option<bool>=?,
|
|
18
19
|
~isMulti: option<bool>=?,
|
|
@@ -35,6 +36,7 @@ module ReactSelectMultiple = {
|
|
|
35
36
|
@module("react-select") @react.component
|
|
36
37
|
external make: (
|
|
37
38
|
~name: string,
|
|
39
|
+
~defaultMenuIsOpen: option<bool>=?,
|
|
38
40
|
~autoFocus: option<bool>=?,
|
|
39
41
|
~isMulti: option<bool>=?,
|
|
40
42
|
~isDisabled: option<bool>=?,
|
|
@@ -55,6 +57,7 @@ module ReactSelectMultiple = {
|
|
|
55
57
|
~name: string,
|
|
56
58
|
~autoFocus: option<bool>=?,
|
|
57
59
|
~isSearchable: option<bool>=?,
|
|
60
|
+
~defaultMenuIsOpen: option<bool>=?,
|
|
58
61
|
~isDisabled: option<bool>=?,
|
|
59
62
|
~isLoading: option<bool>=?,
|
|
60
63
|
~placeholder: option<string>=?,
|
|
@@ -73,6 +76,7 @@ module ReactSelectMultiple = {
|
|
|
73
76
|
isMulti=true
|
|
74
77
|
?isSearchable
|
|
75
78
|
?placeholder
|
|
79
|
+
?defaultMenuIsOpen
|
|
76
80
|
?className
|
|
77
81
|
?classNamePrefix
|
|
78
82
|
defaultValue
|
|
@@ -178,6 +182,7 @@ module ReactSelectMultipleCreateInput = {
|
|
|
178
182
|
onChange(value->Array.concat([inputValue]))
|
|
179
183
|
e->ReactEvent.Keyboard.preventDefault
|
|
180
184
|
}
|
|
185
|
+
|
|
181
186
|
| _ => ()
|
|
182
187
|
}
|
|
183
188
|
}
|