import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2025 GoodData Corporation
import { stopPropagationCallback } from "./utils.js";
import { UiCheckbox } from "../../UiCheckbox/UiCheckbox.js";
import { e } from "../asyncTableBem.js";
export function UiAsyncTableCheckbox({ onChange, checked, indeterminate, disabled, }) {
    return (_jsx("div", { className: e("cell", { checkbox: true }), onClick: (e) => {
            stopPropagationCallback(e, onChange);
        }, children: _jsx(UiCheckbox, { checked: checked, preventDefault: true, indeterminate: indeterminate, disabled: disabled }) }));
}
//# sourceMappingURL=UiAsyncTableCheckbox.js.map