import { c } from "react-compiler-runtime";
import React from "react";
import { Typography, lighten, makeStyles } from "@material-ui/core";
import clsx from "clsx";
//#region src/UI/dataDisplay/typography/FormHeaders.jsx
const useStyles = makeStyles((theme) => ({
	root: { fontWeight: 500 },
	header: { fontSize: 18 },
	subHeader: {
		fontSize: 14,
		color: lighten(theme.palette.common.black, .5)
	}
}));
const FormHeader = (props) => {
	const $ = c(6);
	const { children } = props;
	const classes = useStyles();
	let t0;
	if ($[0] !== classes.header || $[1] !== classes.root) {
		t0 = clsx(classes.header, classes.root);
		$[0] = classes.header;
		$[1] = classes.root;
		$[2] = t0;
	} else t0 = $[2];
	let t1;
	if ($[3] !== children || $[4] !== t0) {
		t1 = /* @__PURE__ */ React.createElement(Typography, { className: t0 }, children);
		$[3] = children;
		$[4] = t0;
		$[5] = t1;
	} else t1 = $[5];
	return t1;
};
const FormSubHeader = (props) => {
	const $ = c(6);
	const { children } = props;
	const classes = useStyles();
	let t0;
	if ($[0] !== classes.root || $[1] !== classes.subHeader) {
		t0 = clsx(classes.subHeader, classes.root);
		$[0] = classes.root;
		$[1] = classes.subHeader;
		$[2] = t0;
	} else t0 = $[2];
	let t1;
	if ($[3] !== children || $[4] !== t0) {
		t1 = /* @__PURE__ */ React.createElement(Typography, { className: t0 }, children);
		$[3] = children;
		$[4] = t0;
		$[5] = t1;
	} else t1 = $[5];
	return t1;
};
//#endregion
export { FormHeader, FormSubHeader };

//# sourceMappingURL=FormHeaders.mjs.map