Table takes the same props as on the web: data (headers and rows), searchable, sortable columns, onRowClick, row actions, striped, compact, loading, emptyState and paginated. On a phone, drop the columns that matter least with a header's hide, as on the web. See the web Table for the same component in the browser.
Cells are text or any element. Numbers in text sort as numbers, so "12" comes after "9".
A header's width is "120px" for a fixed column or "30%" for a share; columns without one share what is left. align lines a column up left, centre or right.
maxHeight scrolls the rows inside that many points; stickyHeader keeps the header in view while they scroll. Without maxHeight the table is as tall as its rows, for a screen that already scrolls.
- Pressed, not hover. hoverable highlights a row while it is pressed.
- No class names. rowClassName and cellClassName are left out.
- maxHeight is a number of points rather than a CSS length.