Theme

npm_versionnpm Paragon package page
Main DataTable page

The TableFooter component is meant to be rendered within a DataTableContext (provided by DataTable here). By default, it shows how many items are being displayed on the left, pagination dropdown in the middle, and navigation buttons on the right. Alternately, it will accept children.

Basic Usage

Any Paragon component or export may be added to the code example.

Rendering with override components

Any Paragon component or export may be added to the code example.

These components can be rendered independently of the TableFooter component with a DataTableContext: RowStatus, TablePagination, TablePaginationMinimal.

  • RowStatus expects to receive page, rows, and itemCount from DataTableContext
  • TablePagination expects to receive pageCount, state, and gotoPage from DataTableContext
  • TablePaginationMinimal expects to receive nextPage, previousPage, canPreviousPage, and canNextPage from DataTableContext

Theme Variables#

CSS VariableComputed Value










Props API#

TableFooter Props API
  • children node

    Specifies the content of the TableFooter

    Defaultnull
  • className string

    Specifies class name to append to the base element.

RowStatus Props API
  • className string

    Specifies class name to append to the base element.

  • statusText string | element

    A text describing how many rows is shown in the table.

TablePagination Props API
This component does not receive any props.
TablePaginationMinimal Props API
This component does not receive any props.

Usage Insights#

TableFooter

Project NameParagon VersionInstance Count
frontend-app-course-authoring22.8.11