mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 02:13:00 +08:00
14 lines
383 B
TypeScript
14 lines
383 B
TypeScript
import { effects as ParagraphHeadingIconEffects } from './heading-icon.js';
|
|
import { ParagraphBlockComponent } from './paragraph-block.js';
|
|
|
|
export function effects() {
|
|
ParagraphHeadingIconEffects();
|
|
customElements.define('affine-paragraph', ParagraphBlockComponent);
|
|
}
|
|
|
|
declare global {
|
|
interface HTMLElementTagNameMap {
|
|
'affine-paragraph': ParagraphBlockComponent;
|
|
}
|
|
}
|