DEPRECATED_treeWithUnifiedSelection Function

Deprecated  Use useUnifiedSelectionTreeEventHandler instead. Will be removed in iModel.js 3.0.

A HOC component that adds unified selection functionality to the supplied tree component.

Note: it is required for the tree to use PresentationTreeDataProvider

DEPRECATED_treeWithUnifiedSelection<P extends TreeProps>(TreeComponent: ComponentClass<P, any>): ForwardRefExoticComponent<PropsWithoutRef<CombinedProps> & RefAttributes<Component<P, any, any>>>

Parameter Type Description
TreeComponent ComponentClass<P, any>  

Returns - ForwardRefExoticComponent<PropsWithoutRef<CombinedProps> & RefAttributes<Component<P, any, any>>>

Defined in

Last Updated: 29 November, 2022