diff --git a/src/components/bottomSheet/BottomSheet.tsx b/src/components/bottomSheet/BottomSheet.tsx index d063e4b62..3fbaa14ed 100644 --- a/src/components/bottomSheet/BottomSheet.tsx +++ b/src/components/bottomSheet/BottomSheet.tsx @@ -32,6 +32,7 @@ import Animated, { sub, timing, Value, + defined, } from 'react-native-reanimated'; import { PanGestureHandler, @@ -163,6 +164,7 @@ export class BottomSheet extends Component { /** * Animated value that keeps track of the position: 0 => closed, 1 => opened */ + // @ts-ignore private position: Animated.Node; /** * Flag to indicate imperative snapping @@ -567,6 +569,18 @@ export class BottomSheet extends Component { }, ]} > + { > {children} - {this.props.animatedPosition && ( - - )}