{"version":3,"file":"useTreeRootId.cjs","sources":["../../../../../packages/react-binding/src/accessorPropagation/useTreeRootId.ts"],"sourcesContent":["import { useContext } from 'react'\nimport type { TreeRootId } from '@contember/binding'\nimport { TreeRootIdContext } from './TreeRootIdContext'\n\nexport const useTreeRootId = (): TreeRootId | undefined => useContext(TreeRootIdContext)\n"],"names":["useContext","TreeRootIdContext"],"mappings":";;;;AAIa,MAAA,gBAAgB,MAA8BA,MAAAA,WAAWC,kBAAiB,iBAAA;;"}