Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f8b273c

Browse files
Sean PrashadSean Prashad
Sean Prashad
authored and
Sean Prashad
committed
Add tool-tip for Companies header
This will display the last time the company list was updated
1 parent b0d6d8f commit f8b273c

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

‎src/components/Table/index.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from 'reactstrap';
99
import ReactTooltip from 'react-tooltip';
1010
import { useTable, useFilters } from 'react-table';
11-
import { FaSortAlphaUp,FaSortAlphaDown } from 'react-icons/fa';
11+
import { FaQuestionCircle } from 'react-icons/fa';
1212
import { Event } from '../Shared/Tracking';
1313

1414
import questionList from '../../data';
@@ -149,7 +149,16 @@ const Table = () => {
149149
),
150150
},
151151
{
152-
Header: 'Companies',
152+
Header: () => {
153+
return (
154+
<div style={{ whiteSpace: 'nowrap' }}>
155+
Companies{' '}
156+
<span data-tip="Companies updated as of May 2020">
157+
<FaQuestionCircle />
158+
</span>
159+
</div>
160+
);
161+
},
153162
accessor: 'companies',
154163
Cell: cellInfo => {
155164
const companies = cellInfo.row.original.companies.map(company => {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /