mado-ui 0.1.0 → 0.1.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.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -941,7 +941,7 @@ function FormComponent({ as, children, className, handleSubmit, onError, onSubmi
|
|
|
941
941
|
}
|
|
942
942
|
});
|
|
943
943
|
const FormElement = as || 'form';
|
|
944
|
-
return (jsxRuntime.
|
|
944
|
+
return (jsxRuntime.jsx(FormElement, { ...props, className: twMerge(className, 'grid gap-3'), onSubmit: processSubmit, children: children }));
|
|
945
945
|
}
|
|
946
946
|
function Form({ controlled = 'auto', initialStatus = 'incomplete', ...props }) {
|
|
947
947
|
const FormContextOrNotProvider = controlled === 'auto' ? FormContextProvider : react.Fragment;
|