sales-frontend-components 1.0.0 → 1.0.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/dist/index.cjs.js +3 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +3 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -4037,9 +4037,10 @@ const HookFormSelectOption = ({ children, value, ...rest }) => {
|
|
|
4037
4037
|
const HookFormSelectGroup = ({
|
|
4038
4038
|
options,
|
|
4039
4039
|
optionsProps,
|
|
4040
|
-
|
|
4040
|
+
selectProps,
|
|
4041
|
+
useControllerProps
|
|
4041
4042
|
}) => {
|
|
4042
|
-
return /* @__PURE__ */ jsxRuntime.jsx(HookFormSelect, {
|
|
4043
|
+
return /* @__PURE__ */ jsxRuntime.jsx(HookFormSelect, { selectProps, useControllerProps, children: options.map(
|
|
4043
4044
|
(option) => option.label && /* @__PURE__ */ jsxRuntime.jsx(HookFormSelectOption, { value: option.value, ...optionsProps, children: option.label }, option.value)
|
|
4044
4045
|
) });
|
|
4045
4046
|
};
|