mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 18:09:58 +08:00
205cd7a86d
Closes: BS-2946
13 lines
341 B
TypeScript
13 lines
341 B
TypeScript
import { WidgetViewExtension } from '@blocksuite/std';
|
|
import { literal, unsafeStatic } from 'lit/static-html.js';
|
|
|
|
import { AFFINE_TOOLBAR_WIDGET } from './toolbar';
|
|
|
|
export * from './toolbar';
|
|
|
|
export const toolbarWidget = WidgetViewExtension(
|
|
'affine:page',
|
|
AFFINE_TOOLBAR_WIDGET,
|
|
literal`${unsafeStatic(AFFINE_TOOLBAR_WIDGET)}`
|
|
);
|