Skip to main content

Table spinner

TableSpinner renders a loading row for a data table: one centered Spinner in a cell spanning the given number of columns.

Example

NameRoleScore

Usage

<tbody>{loading ? <TableSpinner colSpan={columns.length} /> : rows}</tbody>

colSpan must match the table's column count; animation, theme, and size style the spinner.