Use this component to wrap other components to detect if it is clicked outside of the wrapped container.