import { ShadowlessElement } from '@blockeditor/lit'; import { baseTheme } from '@toeverything/theme'; import { html } from 'lit'; import { customElement } from 'lit/decorators.js'; import { Point } from '../../../../_common/utils/index.js'; @customElement('affine-drag-preview') export class DragPreview extends ShadowlessElement { offset: Point; constructor(offset?: Point) { super(); this.offset = offset ?? new Point(0, 0); } override render() { return html``; } } declare global { interface HTMLElementTagNameMap { 'affine-drag-preview': DragPreview; } }