react-confirm 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,6 +20,11 @@ In the [example](https://github.com/haradakunihiko/react-confirm/tree/master/exa
|
|
|
20
20
|
## Demo
|
|
21
21
|
https://codesandbox.io/s/react-confirm-with-react-bootstrap-kjju1
|
|
22
22
|
|
|
23
|
+
## Versions
|
|
24
|
+
|
|
25
|
+
- React 18+ users should use `react-confirm` version 0.2.x
|
|
26
|
+
- React <=17 users should stick to `react-confirm` version 0.1.x
|
|
27
|
+
|
|
23
28
|
## Usage
|
|
24
29
|
1. create your dialog component.
|
|
25
30
|
2. apply `confirmable` to your component (optional, but usually recommended).
|