import { EditorContent, type Editor } from "@tiptap/react"; import ComposerFormatBubble from "./composer-format-bubble"; type Props = { editor: Editor | null; invalid?: boolean; title?: string; }; /** * The composer's input (`useComposerEditor`), with the formatting bubble * over a selection. It fills the row between the attach and voice * buttons. */ export default function ComposerEditor({ editor, invalid, title }: Props) { return ( <> {editor ? : null} ); }