A sortable table component, which collapses into a definition list on small screens.
A state to hold the width of the component.
Whether or not the table has borders.
The breakpoint for the mobile version.
The data for the headers.
The handler for the order change event.
sortKey of the column which the content is ordered by.
The order direction:
The data for the rows.
The size of the component.
Renders the table.
width state based on the dimensions and breakpoint.