import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import cx from "classnames";
import { FormattedMessage } from "react-intl";
export function DropdownToggleButton({ toggleDropdown, isOpened }) {
    return (_jsxs("div", { className: "gd-measure-format-button gd-measure-format-button-templates s-measure-format-templates-toggle-button", onClick: toggleDropdown, children: [
            _jsx("span", { children: _jsx(FormattedMessage, { id: "measureNumberCustomFormatDialog.template.title" }) }), _jsx("div", { className: cx("gd-measure-format-button-icon-right", isOpened ? "gd-icon-navigateup" : "gd-icon-navigatedown") })
        ] }));
}
