src/components/Tooltip/index.js
function ToolTip({ className, children, label, position, type }) {
  const classes = cx(
    tooltipClassName,
    `${tooltipClassName}--${position}`,
    `${tooltipClassName}--${type}`,
    className
  )
  return (
    <button role="tooltip" type="button" className={classes} aria-label={label}>
      {children}
    </button>
  )
}
function ToolTip({ className, children, label, position, type }) {
  const classes = cx(
    tooltipClassName,
    `${tooltipClassName}--${position}`,
    `${tooltipClassName}--${type}`,
    className
  )
  return (
    <button role="tooltip" type="button" className={classes} aria-label={label}>
      {children}
    </button>
  )
}
function ToolTip ( { className , children , label , position , type } ) { const classes = cx ( tooltipClassName , ` ${ tooltipClassName } ${ position } ` , ` ${ tooltipClassName } ${ type } ` , className ) return ( < button role = "tooltip" type = "button" className = { classes } aria-label = { label } > { children } < / button > ) }
Render tooltips using `hint.css`

https://github.com/chinchang/hint.css/
Render tooltips using hint . css