{"version":3,"sources":["../../../../src/components/Tree/TreeItem/TreeItem.tsx"],"sourcesContent":["'use client';\n\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { TreeItemProps } from './TreeItem.types';\nimport { useTreeItem, useTreeItemContextValues } from './useTreeItem';\nimport { renderTreeItem } from './renderTreeItem';\nimport { composeComponent } from '../../../utils/composeComponent';\n\n/**\n * Represents a single `treeitem` within a `Tree`.\n *\n * Must be rendered inside a `Tree`. A `branch` item renders its subtree as a nested `Tree`, and its\n * content is usually rendered with a `TreeItemLayout`.\n */\nexport const TreeItem: ForwardRefComponent<TreeItemProps> = /*#__PURE__*/ composeComponent(\n  'TreeItem',\n  useTreeItem,\n  useTreeItemContextValues,\n  renderTreeItem,\n);\n"],"names":["TreeItem","composeComponent","useTreeItem","useTreeItemContextValues","renderTreeItem"],"mappings":"AAAA;;;;;+BAcaA;;;eAAAA;;;6BAVyC;gCACvB;kCACE;AAQ1B,MAAMA,WAA+C,WAAW,GAAGC,IAAAA,kCAAgB,EACxF,YACAC,wBAAW,EACXC,qCAAwB,EACxBC,8BAAc"}