fabri-pix
Version:
A React image editor using Fabric.js
19 lines (18 loc) • 531 B
TypeScript
import { default as React } from 'react';
import { Canvas } from 'fabric';
interface IProps {
canvas: React.MutableRefObject<Canvas>;
selectedObject: any;
commentBoxRef: React.MutableRefObject<{
backgroundColor: string;
fontColor: string;
fontSize: number;
fontStyle: string;
fontWeight: string;
strokeWidth: number;
borderColor: string;
text: string;
}>;
}
declare const CommentBoxContextMenu: React.FC<IProps>;
export default CommentBoxContextMenu;