mui-tiptap
Version:
A Material-UI (MUI) styled WYSIWYG rich text editor, using Tiptap
15 lines (14 loc) • 665 B
TypeScript
import { type SxProps } from "@mui/material/styles";
import { type Dispatch, type SetStateAction } from "react";
import { type ResizableImageResizerClasses } from "./ResizableImageResizer.classes";
export type ResizableImageResizerProps = {
className?: string;
onResize: (event: MouseEvent) => void;
mouseDown: boolean;
setMouseDown: Dispatch<SetStateAction<boolean>>;
/** Override or extend existing styles. */
classes?: Partial<ResizableImageResizerClasses>;
/** Provide custom styles. */
sx?: SxProps;
};
export default function ResizableImageResizer(inProps: ResizableImageResizerProps): import("react/jsx-runtime").JSX.Element;