import * as React from 'react';
export interface SortArrowProps {
name: string;
value: string;
direction: number;
}
export function SortArrow({name, value, direction}: SortArrowProps): JSX.Element {
if (name === value) {
return (
{direction < 0 ? '▼' : '▲'}
);
} else {
return ;
}
}