export default ({ focus, badgeURL }) => { const visible = !focus && !badgeURL const style = { opacity: visible ? 1 : 0, pointerEvents: visible ? 'auto' : 'none' } return (
) } const Hint = ({ left, width, height, children, align = 'left' }) => { const wrapperPos = { left: `calc(50% + ${left}px)`, height: `${height * 54}px`, width: `${width}px`, textAlign: align } return (