import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2023-2025 GoodData Corporation
import { DropdownButton } from "@gooddata/sdk-ui-kit";
export function NumberFormatToggleButton({ disabled, isOpened, selectedPreset, toggleDropdown, }) {
    return (_jsx("div", { className: "adi-bucket-dropdown number-format-toggle-button s-number-format-toggle-button", children: _jsx(DropdownButton, { title: selectedPreset.name, value: selectedPreset.name, onClick: toggleDropdown, isOpen: isOpened, disabled: disabled }) }));
}
//# sourceMappingURL=NumberFormatToggleButton.js.map