@grandlinex/react-components
Version:
13 lines (12 loc) • 325 B
TypeScript
import React from 'react';
export interface CanvasProps {
width?: number | string;
height?: number | string;
onChange?: (base: string) => void;
}
export type Coordinate = {
x: number;
y: number;
};
declare const Draw: ({ width, height, onChange, }: CanvasProps) => React.JSX.Element;
export default Draw;