API Reference > presentation-components > Tree > treeWithFilteringSupport treeWithFilteringSupport Function A HOC component that adds filtering functionality to the supplied tree component. Note: it is required for the tree to use IPresentationTreeDataProvider treeWithFilteringSupport<P extends TreeProps>(TreeComponent: React.ComponentType<P extends TreeProps>): React.ComponentType<P extends TreeProps & TreeWithFilteringSupportProps> Parameter Type Description TreeComponent React.ComponentType<P extends TreeProps> Returns - React.ComponentType<P extends TreeProps & TreeWithFilteringSupportProps> Defined in presentation/components/src/tree/WithFilteringSupport.tsx Line 46 Last Updated: 13 June, 2024