import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
// (C) 2025 GoodData Corporation
import { UiCheckbox } from "../../../@ui/UiCheckbox/UiCheckbox.js";
import { e } from "../asyncTableBem.js";
function UiAsyncTableDropdownItem({ label, secondaryLabel, onClick, isSelected, isMultiSelect, }) {
    return (_jsxs("div", { className: e("dropdown-item", { selected: isSelected, "multi-select": isMultiSelect }), onClick: onClick, children: [isMultiSelect ? (_jsx("div", { className: e("dropdown-item-checkbox"), children: _jsx(UiCheckbox, { preventDefault: true, checked: isSelected }) })) : null, _jsx("div", { className: e("dropdown-item-label-primary"), children: label }), secondaryLabel ? (_jsx("div", { className: e("dropdown-item-label-secondary"), children: secondaryLabel })) : null] }));
}
export default UiAsyncTableDropdownItem;
//# sourceMappingURL=UiAsyncTableDropdownItem.js.map