matrix-react-sdk
Version:
SDK for matrix.org using React
16 lines (15 loc) • 635 B
TypeScript
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;