"use client";
const require_use_tree_view_node_context = require("./use-tree-view-node-context.cjs");
let react_jsx_runtime = require("react/jsx-runtime");
//#region src/components/tree-view/tree-view-node-checkbox-indicator.tsx
var TreeViewNodeCheckboxIndicator = (props) => {
	const { children, indeterminate, fallback } = props;
	const checkedState = require_use_tree_view_node_context.useTreeViewNodeContext().checked;
	if (checkedState === "indeterminate" && indeterminate) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: indeterminate });
	if (checkedState === true && children) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children });
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: fallback });
};
TreeViewNodeCheckboxIndicator.displayName = "TreeViewNodeCheckboxIndicator";
//#endregion
exports.TreeViewNodeCheckboxIndicator = TreeViewNodeCheckboxIndicator;
