import classNames from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; import titleCase from 'Utilities/String/titleCase'; import styles from './LegendItem.css'; function LegendItem(props) { const { name, status, tooltip, colorImpairedMode } = props; return (