Skip to content

Commit

Permalink
update BottomSheetFlashListProps with updateViewableItems
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldchen authored and yayvery committed Feb 24, 2024
1 parent baae67f commit 54dc2e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/bottomSheetScrollable/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,11 @@ export interface BottomSheetFlashListMethods {

getScrollableNode: () => any;

/**
* Recalculates viewable items.
*/
updateViewableItems: () => void;

// TODO: use `unknown` instead of `any` for Typescript >= 3.0
setNativeProps: (props: { [key: string]: any }) => void;
}
Expand Down

0 comments on commit 54dc2e0

Please sign in to comment.