From c892e18e86522632b1b879a1323697af4ad4a6f5 Mon Sep 17 00:00:00 2001 From: Nirmal Date: Mon, 16 Oct 2023 13:07:10 +0530 Subject: [PATCH] fix: udpate the readme file for better example for usage --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 03e25bb..455981d 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,18 @@ npm install react-native-scribble ## Usage ```jsx - const signatureProps = useSignaturePad(); - - + const signatureProps = useSvgCapture(); + const { clearPad, getFilePath } = signatureProps; + + const handleFileGeneration = async () => { + const filePath = await getFilePath(); + }; + // ... + <> + +