UNPKG

matrix-react-sdk

Version:
16 lines (15 loc) 635 B
import { IEventRelation } from "matrix-js-sdk/src/matrix"; import { E2EStatus } from "../../../../utils/ShieldUtils"; import { MenuProps } from "../../../structures/ContextMenu"; export interface SendWysiwygComposerProps { initialContent?: string; isRichTextEnabled: boolean; placeholder?: string; disabled?: boolean; e2eStatus?: E2EStatus; onChange: (content: string) => void; onSend: () => void; menuPosition: MenuProps; eventRelation?: IEventRelation; } export default function SendWysiwygComposer({ isRichTextEnabled, e2eStatus, menuPosition, ...props }: SendWysiwygComposerProps): JSX.Element;