Skip to content

Commit

Permalink
docs: update DataTable docs to reflect current state (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lael Birch committed Feb 17, 2021
1 parent ed4fb38 commit 2c5d169
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions www/src/pages/table/datatable.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ create tables. It can be used as is, or its subcomponents can be used on their o

## How children get information

The table context gets the current `react-table` instance of the table from the `DataTable` component and makes it available to any component within the provider,
whether or not that component is a child of DataTable. It can store instances of multiple tables that are accessed using the table's name.
The table context gets the current `react-table` instance of the table from the `DataTable` component and makes it available to any child component within the `DataTable` provider.
In addition to the `react-table` instance, `itemCount`, `numBreakoutFilters`, and `bulkActions`, and any props that are not listed in the
props table below are available to child components through the `DataTableContext`.

Expand Down

0 comments on commit 2c5d169

Please sign in to comment.