thailife-react 0.0.32 → 0.0.33

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/cjs/index.js CHANGED
@@ -432,8 +432,7 @@ const Select = React.forwardRef(({ options, value, placeholder = 'Select an opti
432
432
  React.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }))),
433
433
  isOpen && (React.createElement("div", { className: "absolute z-10 w-full mt-1 bg-white border border-gray-300 rounded-md shadow-lg max-h-60 overflow-auto" }, options.map((option) => (React.createElement("button", { key: option.value, type: "button", onClick: () => handleSelect(option), className: `w-full px-4 py-2 text-left hover:bg-gray-100 focus:outline-none focus:bg-gray-100 flex items-center ${option.value === selectedValue ? 'bg-blue-50 text-primary' : ''}` },
434
434
  option.icon && React.createElement("span", { className: "mr-2" }, option.icon),
435
- option.label))))),
436
- error && (React.createElement("p", { className: "mt-1 text-danger" }, error))));
435
+ option.label)))))));
437
436
  });
438
437
  Select.displayName = 'Select';
439
438