/** @packageDocumentation * @module Toolbar */ import * as React from "react"; import { Point } from "@bentley/ui-core"; import { Direction } from "../../../utilities/Direction"; /** Properties of [[withDragInteraction]] HOC. * @beta */ export interface WithDragInteractionProps { /** Drag direction to open the panel. */ direction: Direction; /** Function called when the item is clicked. */ onClick?: () => void; /** Function called when item is dragged or long pressed to open panel. */ onOpenPanel?: () => void; } /** HOC to add open panel action via drag interaction. * @beta */ export declare const withDragInteraction:
(Component: React.JSXElementConstructor
& C) => (props: JSX.LibraryManagedAttributes