"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormWarning = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = require("@chakra-ui/react");
const FormWarning = ({ title, message, }) => {
    return ((0, jsx_runtime_1.jsxs)(react_1.Alert, { status: "warning", mb: 4, children: [(0, jsx_runtime_1.jsx)(react_1.AlertIcon, {}), title && (0, jsx_runtime_1.jsx)(react_1.AlertTitle, { children: title }), (0, jsx_runtime_1.jsx)(react_1.AlertDescription, { children: message })] }));
};
exports.FormWarning = FormWarning;
exports.default = exports.FormWarning;
//# sourceMappingURL=FormWarning.js.map