Skip to content

Commit

Permalink
doc: update missing props in grid
Browse files Browse the repository at this point in the history
  • Loading branch information
pierpo committed Jul 4, 2024
1 parent f95a476 commit db85ef8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ VirtualizedGrids only support vertical orientation (vertically scrollable), but
| `header` | `JSX.Element` | Optional header component you can provide to display at the top of a virtualized grid. If provided, you also need to provide its size (so that the grid knows how to scroll) |
| `headerSize` | `Number` | The Size in pixels of the (optionnally) provided header. |
| `numberOfRowsVisibleOnScreen` | `Number` | How many rows are visible on the screen (helps with knowing how to slice the data and stop the scroll at the end of the list). |
| `onEndReached` | `() => void` | An optional callback function that is called when the user reaches the end of the list. Helps with pagination. |
| `onEndReachedThresholdRowsNumber` | `Number` | Number of rows left to display before triggering the onEndReached event. |
| `style` | `Object` | Used to modify the style of the grid. |
| `nbMaxOfItems` | `Number` | The maximum number of items to render : used to compute the number of rows to render. |
Expand Down

0 comments on commit db85ef8

Please sign in to comment.