# Bottom Sheet ScrollView Is an extended component of `ScrollView` from `react-native`, with bottom sheet integrations. ## Props #### `focusHook` This needed when bottom sheet used with multiple scrollables to allow bottom sheet detect the current scrollable ref, especially when used with `React Navigation`. You will need to provide `useFocusEffect` from `@react-navigation/native`. > `required:` NO | `type:` (effect: EffectCallback, deps?: DependencyList) => void | `default: ` React.useEffect ## Example ```tsx import React, { useCallback, useRef, useMemo } from 'react'; import { StyleSheet, View, Text, Button } from 'react-native'; import BottomSheet, { BottomSheetScrollView } from '@gorhom/bottom-sheet'; const App = () => { // hooks const sheetRef = useRef(null); // variables const data = useMemo( () => Array(50) .fill(0) .map((_, index) => `index-${index}`), [] ); const snapPoints = useMemo(() => ['25%', '50%', '90%'], []); // callbacks const handleSheetChange = useCallback(index => { console.log('handleSheetChange', index); }, []); const handleSnapPress = useCallback(index => { sheetRef.current?.snapTo(index); }, []); const handleClosePress = useCallback(() => { sheetRef.current?.close(); }, []); // render const renderItem = useCallback( (item) => ( {item} ), [] ); return (