Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

361 B
Raw Blame
import { AffineReference, ReferencePopup } from './reference-node';

export function effects() {
  customElements.define('reference-popup', ReferencePopup);
  customElements.define('affine-reference', AffineReference);
}

declare global {
  interface HTMLElementTagNameMap {
    'affine-reference': AffineReference;
    'reference-popup': ReferencePopup;
  }
}