"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormActions = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = require("@chakra-ui/react");
const FormActions = ({ children, align = 'right', spacing = 4, }) => {
    const justifyContent = {
        left: 'flex-start',
        center: 'center',
        right: 'flex-end',
    }[align];
    return ((0, jsx_runtime_1.jsx)(react_1.Box, { display: "flex", gap: spacing, justifyContent: justifyContent, mt: 6, children: children }));
};
exports.FormActions = FormActions;
exports.default = exports.FormActions;
//# sourceMappingURL=FormActions.js.map