fabri-pix
Version:
A React image editor using Fabric.js
16 lines (15 loc) • 422 B
TypeScript
import { Canvas } from 'fabric';
import { default as React } from 'react';
interface IProps {
canvas: React.RefObject<Canvas>;
selectedObject: any;
textBoxRef: React.RefObject<{
backgroundColor: string;
fontColor: string;
fontSize: number;
fontStyle: string;
fontWeight: string;
}>;
}
declare const TextContextMenu: React.FC<IProps>;
export default TextContextMenu;