mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
11 lines
386 B
TypeScript
11 lines
386 B
TypeScript
import { WidgetViewExtension } from '@blocksuite/std';
|
|
import { literal, unsafeStatic } from 'lit/static-html.js';
|
|
|
|
import { AFFINE_VIEWPORT_OVERLAY_WIDGET } from '../widgets/viewport-overlay/viewport-overlay.js';
|
|
|
|
export const viewportOverlayWidget = WidgetViewExtension(
|
|
'affine:page',
|
|
AFFINE_VIEWPORT_OVERLAY_WIDGET,
|
|
literal`${unsafeStatic(AFFINE_VIEWPORT_OVERLAY_WIDGET)}`
|
|
);
|