import React, { Component } from 'react'; import PropTypes from 'prop-types'; import './tooltip.css'; import { InfoIcon } from './icons'; class Tooltip extends Component { constructor(props) { super(props); this.state = { active: false }; this.handleClick = this.handleClick.bind(this); } handleClick(event) { event.preventDefault(); this.setState({ active: !this.state.active }); } render() { return (