@itwin/presentation-components
Version:
React components based on iTwin.js Presentation library
29 lines • 1.24 kB
TypeScript
/** @packageDocumentation
* @module Viewport
*/
import "../common/DisposePolyfill.js";
import { PropsWithChildren } from "react";
import { ViewportProps } from "@itwin/imodel-components-react";
import { ViewportSelectionHandler } from "./ViewportSelectionHandler.js";
/**
* Props that are injected to the ViewWithUnifiedSelection HOC component.
* @public
* @deprecated in 5.3.x This interface is empty.
*/
export interface ViewWithUnifiedSelectionProps {
}
/** @internal */
export declare function ViewportSelectionHandlerContextProvider({ selectionHandler, children }: PropsWithChildren<{
selectionHandler: ViewportSelectionHandler;
}>): import("react/jsx-runtime").JSX.Element;
/** @internal */
export declare function useViewportSelectionHandlerContext(): ViewportSelectionHandler | undefined;
/**
* A HOC component that adds unified selection functionality to the supplied
* viewport component.
*
* @public
* @deprecated in 5.7. Use `enableUnifiedSelectionSyncWithIModel` from `@itwin/unified-selection` package instead.
*/
export declare function viewWithUnifiedSelection<P extends ViewportProps>(ViewportComponent: React.ComponentType<P>): React.ComponentType<P>;
//# sourceMappingURL=WithUnifiedSelection.d.ts.map