opus-toolkit-components 0.2.8 → 0.2.9
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.
|
@@ -9020,7 +9020,7 @@ function Dropdown(_ref) {
|
|
|
9020
9020
|
onChange,
|
|
9021
9021
|
value
|
|
9022
9022
|
} = _ref;
|
|
9023
|
-
const [selectedItem, setSelectedItem] = (0,external_react_.useState)(
|
|
9023
|
+
const [selectedItem, setSelectedItem] = (0,external_react_.useState)(value); // Initialize to null
|
|
9024
9024
|
|
|
9025
9025
|
const inputClasses = `inline-flex w-full justify-center gap-x-1.5 rounded-md bg-white border px-4 py-3 text-md font-normal text-gray-900 ${isValid ? 'border-slate-500' : 'border-rose-500'}`;
|
|
9026
9026
|
const handleSelect = item => {
|
|
@@ -9079,4 +9079,4 @@ function Dropdown(_ref) {
|
|
|
9079
9079
|
/******/ })()
|
|
9080
9080
|
;
|
|
9081
9081
|
});
|
|
9082
|
-
//# sourceMappingURL=main.
|
|
9082
|
+
//# sourceMappingURL=main.cbe51cd922acdf7e3218.js.map
|