import React, { Component } from 'react'; import { StyleSheet, View } from 'react-native'; import Interactable from '../../Interactable'; import Animated from 'react-native-reanimated'; export default class IconDrawer extends Component { constructor(props) { super(props); this._deltaX = new Animated.Value(0); } render() { return ( ); } onDrawerSnap(event) { const snapPointId = event.nativeEvent.id; console.log(`drawer state is ${snapPointId}`); } } const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', backgroundColor: 'white', }, button: { width: 40, height: 40, marginRight: 25, backgroundColor: 'blue', }, });