API Reference > presentation-components > Tree > DEPRECATED_controlledTreeWithVisibleNodes DEPRECATED_controlledTreeWithVisibleNodes Function Deprecated Use hooks. Will be removed in iModel.js 3.0 Beta A HOC component that injects visible nodes into supplied tree component. It uses TreeModelSource from AbstractTreeNodeLoader to produce visible nodes. DEPRECATED_controlledTreeWithVisibleNodes<P extends ControlledTreeProps>(TreeComponent: FC<P>): FC<Omit<CombinedProps, "visibleNodes">> Parameter Type Description TreeComponent FC<P> Returns - FC<Omit<CombinedProps, "visibleNodes">> Defined in presentation/components/src/presentation-components/tree/controlled/WithVisibleNodes.tsx Line 31 Last Updated: 12 June, 2024