From ce50e03f7b50c192100a8fa2e99c3f689f6f124b Mon Sep 17 00:00:00 2001 From: Tyler McGinnis Date: Fri, 15 Mar 2019 11:06:22 -0600 Subject: [PATCH] 21. Tooltip --- app/components/Popular.js | 11 ++++--- app/components/Results.js | 13 +++++--- app/components/Tooltip.js | 65 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 81 insertions(+), 8 deletions(-) create mode 100644 app/components/Tooltip.js diff --git a/app/components/Popular.js b/app/components/Popular.js index af1f8f47..3d54f270 100644 --- a/app/components/Popular.js +++ b/app/components/Popular.js @@ -4,6 +4,7 @@ import { fetchPopularRepos } from '../utils/api' import { FaUser, FaStar, FaCodeBranch, FaExclamationTriangle } from 'react-icons/fa' import Card from './Card' import Loading from './Loading' +import Tooltip from './Tooltip' function LangaugesNav ({ selected, onUpdateLanguage }) { const languages = ['All', 'JavaScript', 'Ruby', 'Java', 'CSS', 'Python'] @@ -46,10 +47,12 @@ function ReposGrid ({ repos }) { >