{"version":3,"file":"TreeRootIdProvider.cjs","sources":["../../../../../packages/react-binding/src/accessorPropagation/TreeRootIdProvider.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\nimport type { TreeRootId } from '@contember/binding'\nimport { TreeRootIdContext } from './TreeRootIdContext'\n\nexport interface TreeRootIdProviderProps {\n\ttreeRootId: TreeRootId | undefined\n\tchildren: ReactNode\n}\n\nexport function TreeRootIdProvider(props: TreeRootIdProviderProps) {\n\treturn <TreeRootIdContext.Provider value={props.treeRootId}>{props.children}</TreeRootIdContext.Provider>\n}\n"],"names":["jsx","TreeRootIdContext"],"mappings":";;;;AASO,SAAS,mBAAmB,OAAgC;AAC3D,SAAAA,+BAACC,kBAAAA,kBAAkB,UAAlB,EAA2B,OAAO,MAAM,YAAa,gBAAM,UAAS;AAC7E;;"}