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

Last Updated: 13 June, 2024