controlledTreeWithFilteringSupport Function

Beta  

A HOC component that adds filtering functionality to the supplied controlled tree component.

Note: it is required for the tree to use PresentationTreeDataProvider and wrap supplied tree component in controlledTreeWithVisibleNodes HOC

controlledTreeWithFilteringSupport<P extends ControlledTreeWithVisibleNodesProps>(TreeComponent: React.FC<P extends ControlledTreeWithVisibleNodesProps>): FunctionComponent<{ T }>

Parameter Type Description
TreeComponent React.FC<P extends ControlledTreeWithVisibleNodesProps>  

Returns - FunctionComponent<{ T }>

Defined in

Last Updated: 13 June, 2024