From 450521201fc8be003a8b8bc0f3e18735a46e162a Mon Sep 17 00:00:00 2001 From: Robert Soriano Date: Sat, 30 Apr 2022 09:21:00 -0700 Subject: [PATCH] docs: update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 911ceaa..e0f7379 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ const styles = StyleSheet.create({ | `reset()` | Clear all the paths. | | `undo()` | Undo | | `redo()` | Redo | -| `toBase64(format, quality)` | Get the base64 of image. | +| `toBase64(format?: ImageFormat, quality?: number)` | Get the base64 of image. | | `toImage()` | Get a snapshot from the canvas in the surface. | | `toSvg(width: number, height: number, backgroundColor?: string)` | Get the svg string of all paths. | | `toPoints()` | Get the array of point groups that got drawn in the canvas. |