import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
// (C) 2021-2025 GoodData Corporation
import { FormattedMessage } from "react-intl";
import { Bubble, BubbleHoverTrigger } from "@gooddata/sdk-ui-kit";
const bubbleAlignPoints = [{ align: "bc tc", offset: { x: 0, y: 0 } }];
export function CompactContentError({ className, headline, text }) {
    return (_jsxs(BubbleHoverTrigger, { children: [
            _jsx("div", { className: `info-label-icon ${className}` }), _jsxs(Bubble, { alignPoints: bubbleAlignPoints, children: [
                    _jsx(FormattedMessage, { id: headline }), _jsx("br", {}), _jsx(FormattedMessage, { id: text })
                ] })
        ] }));
}
//# sourceMappingURL=CompactContentError.js.map