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.esm.js
CHANGED
|
@@ -939,7 +939,7 @@ function FormComponent({ as, children, className, handleSubmit, onError, onSubmi
|
|
|
939
939
|
}
|
|
940
940
|
});
|
|
941
941
|
const FormElement = as || 'form';
|
|
942
|
-
return (
|
|
942
|
+
return (jsx(FormElement, { ...props, className: twMerge(className, 'grid gap-3'), onSubmit: processSubmit, children: children }));
|
|
943
943
|
}
|
|
944
944
|
function Form({ controlled = 'auto', initialStatus = 'incomplete', ...props }) {
|
|
945
945
|
const FormContextOrNotProvider = controlled === 'auto' ? FormContextProvider : Fragment;
|