@uva-glass/component-library
Version:
React components UvA
13 lines (12 loc) • 432 B
TypeScript
import { ElementNode, TextNode } from 'lexical';
export interface LinkType {
active: boolean;
url: string;
linktext: string;
}
interface LinkPluginProps {
parentScrollPosition: number;
}
export declare const getLinkNodeTag: (anchorNode: ElementNode | TextNode) => boolean | LinkType;
export declare const LinkPlugin: ({ parentScrollPosition }: LinkPluginProps) => import("react/jsx-runtime").JSX.Element;
export {};