Show HN: React-hint – 150LoC Tooltip Component for React, Preact and Inferno
github.com
github.com
[1] https://picnicss.com/documentation (+ click on tooltip)
PS, I had the same feeling about a Google IO presentation but told myself that it was just a generic style; then I saw in the source a `css('picnic.css')`!
Reason I'm asking is that this is non-trivial, and takes time to verify with different browsers and NVDA and JAWS. Having dependencies solving these issues are great.
import {h, Component} from 'preact'
import {ReactHintFactory} from 'react-hint'
import 'react-hint/css/index.css'
const ReactHint = ReactHintFactory({createElement: h,
Component})Btw if anyone will need similar component for vue, here is one: https://github.com/euvl/vue-js-popover