From e25a1888a93f09d7aeb74e4ef71428b94cad93e3 Mon Sep 17 00:00:00 2001 From: Ev Haus Date: Mon, 25 Apr 2022 20:34:58 -0700 Subject: [PATCH 1/2] Add note on library versions --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index b3c0bdd..8243482 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,11 @@ In the [example](https://github.com/haradakunihiko/react-confirm/tree/master/exa ## Demo https://codesandbox.io/s/react-confirm-with-react-bootstrap-kjju1 +## Versions + +- React 18+ users should use `react-confirm` version 0.2.x +- React <=17 users should stick to `react-confirm` version 0.1. + ## Usage 1. create your dialog component. 2. apply `confirmable` to your component (optional, but usually recommended). From 82cb1f2fbf450df311946d1181630e75e0c3e2c0 Mon Sep 17 00:00:00 2001 From: Ev Haus Date: Mon, 25 Apr 2022 20:36:25 -0700 Subject: [PATCH 2/2] Minor typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8243482..20b06be 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ https://codesandbox.io/s/react-confirm-with-react-bootstrap-kjju1 ## Versions - React 18+ users should use `react-confirm` version 0.2.x -- React <=17 users should stick to `react-confirm` version 0.1. +- React <=17 users should stick to `react-confirm` version 0.1.x ## Usage 1. create your dialog component.