mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-20 19:42:04 +08:00
205cd7a86d
Closes: BS-2946
13 lines
366 B
TypeScript
13 lines
366 B
TypeScript
import { SignalWatcher, WithDisposable } from '@blocksuite/global/lit';
|
|
import { ShadowlessElement } from '@blocksuite/std';
|
|
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;
|
|
}
|