"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormSection = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = require("@chakra-ui/react");
const FormSection = ({ children, title, description, }) => {
    return ((0, jsx_runtime_1.jsxs)(react_1.Box, { mb: 6, children: [title && ((0, jsx_runtime_1.jsx)(react_1.Heading, { as: "h3", size: "md", mb: 2, children: title })), description && ((0, jsx_runtime_1.jsx)(react_1.Text, { color: "gray.600", mb: 4, children: description })), children] }));
};
exports.FormSection = FormSection;
exports.default = exports.FormSection;
//# sourceMappingURL=FormSection.js.map