"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormLoading = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = require("@chakra-ui/react");
const FormLoading = ({ message = 'Loading...', }) => {
    return ((0, jsx_runtime_1.jsxs)(react_1.Box, { display: "flex", alignItems: "center", justifyContent: "center", p: 4, children: [(0, jsx_runtime_1.jsx)(react_1.Spinner, { mr: 3 }), (0, jsx_runtime_1.jsx)(react_1.Text, { children: message })] }));
};
exports.FormLoading = FormLoading;
exports.default = exports.FormLoading;
//# sourceMappingURL=FormLoading.js.map