mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-22 04:21:40 +08:00
chore: merge blocksuite source code (#9213)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { ShadowlessElement } from '@blocksuite/block-std';
|
||||
import { SignalWatcher, WithDisposable } from '@blocksuite/global/utils';
|
||||
import { property } from 'lit/decorators.js';
|
||||
|
||||
import type { Menu } from './menu.js';
|
||||
|
||||
export abstract class MenuItem extends SignalWatcher(
|
||||
WithDisposable(ShadowlessElement)
|
||||
) {
|
||||
@property({ attribute: false })
|
||||
accessor menu!: Menu;
|
||||
}
|
||||
Reference in New Issue
Block a user