Skip to content

[v5] | handleHeight Prop exists in documentation and not in type definitions #1881

@giantslogik

Description

@giantslogik

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

  1. Use the prop handleHeight:

Describe what you expected to happen:

  1. 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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions