|
|
@ -2,11 +2,7 @@ import { getAllClasses, getInnerBlock, getBottomBlock } from "./container";
|
|
|
|
|
|
|
|
|
|
|
|
export default function ContainerForm({ children = [], options, additionalClassNames = "", callback }) {
|
|
|
|
export default function ContainerForm({ children = [], options, additionalClassNames = "", callback }) {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<form
|
|
|
|
<form onSubmit={callback} className={`${getAllClasses(options, additionalClassNames)} information-widget-form`}>
|
|
|
|
type="button"
|
|
|
|
|
|
|
|
onSubmit={callback}
|
|
|
|
|
|
|
|
className={`${getAllClasses(options, additionalClassNames)} information-widget-form`}
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
{getInnerBlock(children)}
|
|
|
|
{getInnerBlock(children)}
|
|
|
|
{getBottomBlock(children)}
|
|
|
|
{getBottomBlock(children)}
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|