1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { PopoverOrigin } from "@material-ui/core/Popover";
7 export const createAnchorAt = (position: {x: number, y: number}) => {
8 const el = document.createElement('div');
17 el.getBoundingClientRect = () => clientRect;
21 export const DefaultTransformOrigin: PopoverOrigin = {