🎯 Detect clicks outside of elements and close components in reverse order
-
Updated
Jul 21, 2022 - TypeScript
🎯 Detect clicks outside of elements and close components in reverse order
Use this component to wrap other components to detect if it is clicked outside of the wrapped container.
To associate your repository with the react-click-away topic, visit your repo's landing page and select "manage topics."