usePresentationTreeState Function
Deprecated in 5.7. All tree-related APIs have been deprecated in favor of the new generation hierarchy
building APIs (see https://github.com/iTwin/presentation/blob/33e79ee8d77f30580a9bab81a72884bda008db25/README.md#the-packages).
Custom hook that creates and manages state for ControlledTree component based on presentation data.
usePresentationTreeState<TEventHandler extends TreeEventHandler>(__namedParameters: UsePresentationTreeStateProps<TEventHandler>): UsePresentationTreeStateResult<TEventHandler> | undefined
Parameter | Type | Description |
---|---|---|
__namedParameters | UsePresentationTreeStateProps<TEventHandler> |
Returns - UsePresentationTreeStateResult<TEventHandler> | undefined
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.