import classNames from 'classnames'; import React, { useState, useEffect, useRef, createContext, useContext, EventHandler } from 'react'; import { FaBars, FaTimes } from 'react-icons/fa'; interface Props { className?: string; showBadge?: boolean; showNumber?: boolean; badgeNumber?: string; } export const Bell: React.FC = (props) => { if (props.showBadge) { if (props.showNumber) { return ( ); } else { return ( /* dummy number 0 with the same color as the background */ ); } } else { /* 2 times the regular size of the icon, for consistency with the stacked icons */ return ( ); } };