import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2025-2026 GoodData Corporation
import { forwardRef } from "react";
import { UiIconButtonRenderer } from "../UiIconButton/UiIconButtonRenderer.js";
/**
 * @internal
 */
export const UiDropdownIconButton = forwardRef(({ isDropdownOpen, ...props }, ref) => {
    return (_jsx(UiIconButtonRenderer, { ref: ref, ...props, iconAfter: isDropdownOpen ? "navigateUp" : "navigateDown", isActive: isDropdownOpen }));
});
UiDropdownIconButton.displayName = "UiDropdownIconButton";
