Skip to content

Commit

Permalink
Update table-instance-apis.mdx (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmhumphrey committed Sep 18, 2022
1 parent 53a8528 commit 2c2c940
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import SourceCode from '../../../components/prop-tables/TableInstanceAPIsSource'

## Table Instance APIs

Internally, Material React Table uses the `useReactTable` hook from TanStack Table to create a table instance that handles a majority of all the logic, events, and state for the table.
Internally, Material React Table uses the `useReactTable` hook from TanStack Table to create a table instance that handles a majority of the logic and events and the state for the table.

You can access this table instance yourself by either setting up a `tableInstanceRef`, or by consuming a `table` param from many of the callback functions in many of the props.
You can access this table instance yourself by either setting up a `tableInstanceRef` or by consuming a `table` param from many of the callback functions in many of the props.

```jsx
const tableInstanceRef = useRef(null);
Expand Down

2 comments on commit 2c2c940

@vercel
Copy link

@vercel vercel bot commented on 2c2c940 Sep 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 2c2c940 Sep 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.