Function getSortingIcon

  • Gets an icon that indicates the current sorting direction based on the provided input

    Parameters

    • sortDirection: false | SortDirection

      Sorting direction. Can be ascending ('asc'), descending ('desc') or false ( i.e. not sorted)

    Returns ReactNode

    The appropriate sorting icon for the provided sorting direction