From 6d27c495496ea52cd883bc4a431b4be93a169005 Mon Sep 17 00:00:00 2001 From: Roee Fl Date: Wed, 4 May 2022 00:13:25 +0300 Subject: [PATCH] Update readme.md with v2->v3 section Hey guys, I've recently upgraded this package in my repo from v2 and v3 and was sorely missing the breaking change of removal of the `catchClick` prop replaced by the ref API. Would be great if you added it to either the `readme` or a v3 release notes --- readme.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/readme.md b/readme.md index dfca352..5d8a2f3 100644 --- a/readme.md +++ b/readme.md @@ -88,3 +88,9 @@ function App() { ) } ``` + +## Upgrading from v2 to v3 + +# Breaking Changes + +`catchClick` prop has been removed and replaced with the new ref API '.open()' method