mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-01 22:29:44 +08:00
17 lines
389 B
TypeScript
17 lines
389 B
TypeScript
import { BlockComponent } from '@blocksuite/std';
|
|
import { nothing } from 'lit';
|
|
|
|
import type { SurfaceBlockModel } from './surface-model.js';
|
|
|
|
export class SurfaceBlockVoidComponent extends BlockComponent<SurfaceBlockModel> {
|
|
override render() {
|
|
return nothing;
|
|
}
|
|
}
|
|
|
|
declare global {
|
|
interface HTMLElementTagNameMap {
|
|
'affine-surface-void': SurfaceBlockVoidComponent;
|
|
}
|
|
}
|