export default ({ focus, badgeURL }) => { const visible = !focus && !badgeURL const style = { opacity: visible ? 1 : 0, pointerEvents: visible ? 'auto' : 'none' } return (
badge (static badge)
SERVICE_NAME (live badge)
runkit / https (arbitrary badge)
TEXT TEXT  RGB / COLOR_NAME (optional) OPTIONS (icon, label, etc.)
) } 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 (
{children}
) }