import { c } from "react/compiler-runtime";
import React from "react";
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
const FormElementHeader = (i) => {
	let a = c(7), { title: o, description: s } = i;
	if (!o && !s) return null;
	let l;
	a[0] === o ? l = a[1] : (l = o && /* @__PURE__ */ jsx("h1", {
		className: "mb-2 text-xl font-semibold",
		children: o
	}), a[0] = o, a[1] = l);
	let u;
	a[2] === s ? u = a[3] : (u = s && /* @__PURE__ */ jsx("p", {
		className: "text-muted-foreground text-base",
		children: s
	}), a[2] = s, a[3] = u);
	let d;
	return a[4] !== l || a[5] !== u ? (d = /* @__PURE__ */ jsxs(Fragment$1, { children: [l, u] }), a[4] = l, a[5] = u, a[6] = d) : d = a[6], d;
};
export { FormElementHeader };
