mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
13 lines
372 B
TypeScript
13 lines
372 B
TypeScript
import { ShadowlessElement } from '@blocksuite/block-std';
|
|
import { SignalWatcher, WithDisposable } from '@blocksuite/global/lit';
|
|
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;
|
|
}
|