-
-
Notifications
You must be signed in to change notification settings - Fork 917
Closed
Labels
Description
Bug
In 5.0.0-alpha.10 the prop handleheight is described here.
https://ui.gorhom.dev/components/bottom-sheet/props#handleheight
However it doesn't actually exist in the typedefinitions.
Environment info
| Library | Version |
|---|---|
| @gorhom/bottom-sheet | 5.0.0-alpha.10 |
| react-native | 0.73.6 |
| react-native-reanimated | 3.13.0 |
| react-native-gesture-handler | 2.16.2 |
Steps To Reproduce
- Use the prop handleHeight:
Describe what you expected to happen:
- Prop works
Reproducible sample code
<BottomSheet
backdropComponent={renderBackdrop}
onChange={localOnChange}
onAnimate={localOnAnimate}
animateOnMount={false}
enableContentPanningGesture={false}
enablePanDownToClose
handleComponent={component}
handleHeight={48}
index={-1}
onAnimate={handleAnimate}
ref={bottomSheetRef}
snapPoints={snapPoints}
>
{children}
</BottomSheet>
OlegBezr