You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/design-system/custom-components/table.md
+33-7Lines changed: 33 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ For a practical implementation, refer to the [Simple Table Example](https://gith
29
29
|**`columns`**|`Array<Object>`| Defines the structure and configuration of the table columns. |
30
30
|**`paginationOptions`**|`Object`| Provides options for handling pagination, such as `pageSize`, `currentPage`, `totalRows`, and `onPageChange`. |
31
31
|**`onRowClick`**|`function`| A callback function triggered when a table row is clicked. |
32
+
|**`defaultSort`**|`Array<Object>`| Sets the default sorting for the table, with each object specifying a key for the column and direction ("asc" or "desc"). |
32
33
|**`className`**|`string`| An optional `className` for custom styling. |
33
34
34
35
#### Trussworks Table Props
@@ -107,8 +108,8 @@ import { Table } from "@nmfs-radfish/react-radfish";
0 commit comments