@leafyjava/react-click-away
Use this component to wrap other components to detect if it is clicked outside of the wrapped container.
Use this component to wrap other components to detect if it is clicked outside of the wrapped container.
Detect clicks outside of elements