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
import * as React from 'react'; | |
import refluent, { branch } from 'refluent'; | |
const Hover = refluent.do((_, push) => ({ | |
hoverProps: { | |
onMouseMove: () => push({ isHovered: true }), | |
onMouseLeave: () => push({ isHovered: false }), | |
}, | |
isHovered: false, | |
})); |
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
### Keybase proof | |
I hereby claim: | |
* I am jsiwhitehead on github. | |
* I am jsiwhitehead (https://keybase.io/jsiwhitehead) on keybase. | |
* I have a public key whose fingerprint is 0B12 4450 79E8 2A16 7B82 A813 B559 DBC3 EAAB F004 | |
To claim this, I am signing this object: |