Skip to content

Commit

Permalink
docs: update measureElement signature
Browse files Browse the repository at this point in the history
  • Loading branch information
piecyk committed Aug 22, 2024
1 parent bd7fdc1 commit 57d2ee1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/api/virtualizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,9 @@ An optional function that if provided is called when the scrollElement changes a

```tsx
measureElement?: (
el: TItemElement,
instance: Virtualizer<TScrollElement, TItemElement>
element: TItemElement,
entry: ResizeObserverEntry | undefined,
instance: Virtualizer<TScrollElement, TItemElement>,
) => number
```

Expand Down

0 comments on commit 57d2ee1

Please sign in to comment.