37 points · by slmgc · 9y ago · 15 comments
[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