@itwin/presentation-hierarchies-react
Version:
React components based on `@itwin/presentation-hierarchies`
15 lines • 744 B
TypeScript
import { PropsWithChildren } from "react";
import { SelectionStorage } from "@itwin/unified-selection";
/**
* A React context provider that makes given selection storage available to all child components. This
* is a requirement for `useUnifiedSelectionTree` to work with unified selection.
*
* @public
* @deprecated in 1.5.0. Use `UnifiedSelectionContextProvider` from `@itwin/unified-selection-react` instead.
*/
export declare function UnifiedSelectionProvider({ storage, children }: PropsWithChildren<{
storage: SelectionStorage;
}>): import("react/jsx-runtime").JSX.Element;
/** @internal */
export declare function useUnifiedSelectionStorage(): SelectionStorage | undefined;
//# sourceMappingURL=UnifiedSelectionContext.d.ts.map