1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-04-29 09:16:38 +02:00
foris-js/src/common/RichTable/RichTable.md

467 B

Description

Rich Table is a table component based on Tanstack React Table. It adds some features to the table component, such as:

  • Pagination: The table can be paginated.
  • Sorting: The table can be sorted by columns.
  • Row Expansion: The table rows can be expanded. (To be implemented)

Example

import { columns, data } from "./mockData";

<RichTable columns={columns} data={data} withPagination />;