APIVariables
ReactSketchCanvas
constReactSketchCanvas:ForwardRefExoticComponent<ReactSketchCanvasProps&RefAttributes<ReactSketchCanvasRef>>
Defined in: ReactSketchCanvas/index.tsx:26
Stateful sketch canvas component for freehand SVG drawing.
Remarks
ReactSketchCanvas manages paths, draw/erase mode, undo/redo history,
timestamp capture, and public imperative methods. It is the primary component
intended for application use.
Use a ref when you need to export images or paths, toggle erasing from a toolbar, or control history from parent UI.
Param
Public drawing, styling, export, and callback options.
Param
Ref exposing ReactSketchCanvasRef methods.
Returns
The sketch canvas component.