import React, { Component } from 'react' import { StyleSheet, View, Text, Image, Button } from 'react-native' import BottomSheet from 'reanimated-bottom-sheet'; import { px2dp } from '../../utils/base'; export interface Props { headerText?: string } export interface State { } export default class ActionSheet extends React.Component { constructor(props: Props | Readonly) { super(props); } componentDidMount() { } componentWillUnmount() { } public readonly state: Readonly = { } public sheetRef = null renderContent = () => ( Swipe down to close ); snapTo = (item: number) => { this.sheetRef.snapTo(item) console.log(99) } header = () => { let { headerText } = this.props; return ( {headerText} ) } render() { return ( <> {/*