You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
homepage/src/components/widgets/widget/container_form.jsx

11 lines
394 B

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