import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
// (C) 2020-2025 GoodData Corporation
import { FormattedMessage } from "react-intl";
export function DocumentationLink({ url }) {
    return (_jsx("div", { className: "gd-measure-custom-format-dialog-section gd-measure-custom-format-dialog-section-help", children: _jsxs("a", { "aria-label": "custom-format-documentation-link", className: "gd-measure-format-button s-custom-format-dialog-documentation-link", target: "_blank", rel: "noreferrer noopener", href: url, children: [
                _jsx("div", { className: "gd-icon-circle-question gd-measure-format-button-icon-left" }), _jsx("span", { children: _jsx(FormattedMessage, { id: "measureNumberCustomFormatDialog.howToFormat" }) })
            ] }) }));
}
