cesardeazevedo / react-native-bottom-sheet-behavior

react-native wrapper for android BottomSheetBehavior
MIT License
1.16k stars 114 forks source link

BottomSheetBehavior ref is null #59

Closed AndrewTotsky closed 4 years ago

AndrewTotsky commented 5 years ago

<BottomSheetBehavior peekHeight={Dimensions.get('window').height * 0.2} hideable={false} state={BottomSheetBehavior.STATE_COLLAPSED} ref={ref => console.log(ref)} // null />

React-Native 0.59.10

What im doing wrong?