Created
March 2, 2019 08:31
-
-
Save andrei-cacio/29116167edc72483fae02ac7a4d0589d to your computer and use it in GitHub Desktop.
ClickOutside
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ClickOutside onClick=() => 'Close tooltip'> | |
<span> | |
A helpful tooltip! | |
</span> | |
</ClickOutside> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
don't we need to wrap anonymous function in curly braces?