import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import cx from "classnames";
import { useIntl } from "react-intl";
import { UiButton } from "@gooddata/sdk-ui-kit";
export function KdaFooter({ content, onClose }) {
    const intl = useIntl();
    const closeLabel = intl.formatMessage({ id: "kdaDialog.dialog.close" });
    return (_jsxs("div", { className: cx("gd-kda-dialog-footer"), children: [
            _jsx("div", { className: cx("gd-kda-dialog-footer-content"), children: content }), _jsx("div", { className: cx("gd-kda-dialog-footer-buttons"), children: _jsx(UiButton, { size: "large", label: closeLabel, variant: "secondary", onClick: onClose }) })
        ] }));
}
//# sourceMappingURL=KdaFooter.js.map