ClickOutside

Utility component that provides a callback when a click is outside of its children

Props

children
Node
onClickOutside
Func
required

Examples

Current Count: 0

Click the button to start watching clicks outside the card. Click the button again to stop watching.