React Native Flatlist obtient des articles visibles

const component = () => {
  	const onViewableItemsChanged = useRef(() => {
    
    })

    return (
      <FlatList
        onViewableItemsChanged={onViewableItemsChanged.current}
        viewabilityConfig={{
          itemVisiblePercentThreshold: 100
        }}
      />
    )
 }
florinrelea