API Reference > presentation-components > Tree > controlledTreeWithVisibleNodes controlledTreeWithVisibleNodes Function Beta A HOC component that injects visible nodes into supplied tree component. It uses TreeModelSource from AbstractTreeNodeLoader to produce visible nodes. controlledTreeWithVisibleNodes<P extends ControlledTreeProps>(TreeComponent: React.FC<P extends ControlledTreeProps>): FunctionComponent<{ T }> Parameter Type Description TreeComponent React.FC<P extends ControlledTreeProps> Returns - FunctionComponent<{ T }> Defined in presentation/components/src/tree/controlled/WithVisibleNodes.tsx Line 29 Last Updated: 13 June, 2024