API Reference > presentation-components > Tree > DEPRECATED_treeWithFilteringSupport DEPRECATED_treeWithFilteringSupport Function Deprecated Use useControlledTreeFiltering instead. Will be removed in iModel.js 3.0 A HOC component that adds filtering functionality to the supplied tree component. Note: it is required for the tree to use IPresentationTreeDataProvider DEPRECATED_treeWithFilteringSupport<P extends TreeProps>(TreeComponent: ComponentType<P>): React.ComponentType<P & TreeWithFilteringSupportProps> Parameter Type Description TreeComponent ComponentType<P> Returns - React.ComponentType<P & TreeWithFilteringSupportProps> Defined in presentation/components/src/presentation-components/tree/WithFilteringSupport.tsx Line 48 Last Updated: 11 June, 2024