stanleyugwu / react-native-bottom-sheet

The tiny 📦, smart 😎, and flexible 🎗 bottom sheet your app craves
https://github.com/stanleyugwu/react-native-bottom-sheet#readme
MIT License
248 stars 9 forks source link

error on load with RNW #21

Open lobor opened 5 months ago

lobor commented 5 months ago

image

I will added later a repoductible repo

stanleyugwu commented 4 months ago

Okay @lobor I'd really need a repro to be able to approach this correctly, waiting on that

leetcarone commented 4 months ago

Same issue is happening here :/

expo: 50.0.13 react native: 0.73.5

Example:

export default function HistoryFilters() {
  const ref = useRef<BottomSheetMethods>(null);

  return (
    <View>
      <BottomSheet
          ref={ref}
          closeOnDragDown={true}
          animationType='slide'
          backdropMaskColor='#000000'
        >
          <Text>
            The smart 😎, tiny 📦, and flexible 🎗 bottom sheet your app craves 🚀
          </Text>
        </BottomSheet>
    </View>
  );
}
export default function HistoryPage() {
  return (
    <View>
      <Text>=)</Text>
      <HistoryFilters />
    </View>
  );
}
javier545dev commented 2 months ago

hi, how to config for react js webpack? i have equal error