"use client"; import type { ComponentRenderProps } from "./types"; import { baseClass, getCustomClass } from "./utils"; export function Form({ element, children }: ComponentRenderProps) { const { props } = element; const customClass = getCustomClass(props); return (
{props.title ? (
{props.title as string}
) : null}
{children}
); }