reactjs-tiptap-editor
Version:
A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React
9 lines (8 loc) • 412 B
TypeScript
import { ReactNodeViewRendererOptions } from '@tiptap/react';
export declare const TWITTER_REGEX_GLOBAL: RegExp;
export declare const TWITTER_REGEX: RegExp;
export declare function isValidTwitterUrl(url: string): RegExpMatchArray | null;
declare function NodeViewTweet({ node }: {
node: Partial<ReactNodeViewRendererOptions>;
}): import("react/jsx-runtime").JSX.Element | null;
export default NodeViewTweet;