Skip to content

Commit 74cdc14

Browse files
Sean PrashadSean Prashad
authored andcommitted
Use better font-awesome icons for sorting asc and desc
1 parent 9c01b6b commit 74cdc14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/src/components/ReactTable/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { Table } from 'reactstrap';
33
import { useTable, useSortBy } from 'react-table';
4-
import { FaArrowCircleUp, FaArrowCircleDown } from 'react-icons/fa';
4+
import { FaSortAlphaUp, FaSortAlphaDown } from 'react-icons/fa';
55

66
function ReactTable({ columns, data }) {
77
const {
@@ -33,9 +33,9 @@ function ReactTable({ columns, data }) {
3333
{' '}
3434
{column.isSorted ? (
3535
column.isSortedDesc ? (
36-
<FaArrowCircleDown />
36+
<FaSortAlphaUp />
3737
) : (
38-
<FaArrowCircleUp />
38+
<FaSortAlphaDown />
3939
)
4040
) : (
4141
''

0 commit comments

Comments
 (0)