API Reference > presentation-components > Tree > DEPRECATED_treeWithUnifiedSelection 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 presentation/components/src/presentation-components/tree/WithUnifiedSelection.tsx Line 52 Last Updated: 12 June, 2024