import React, { FC, ReactNode } from 'react'; import { Dimensions, DimensionValue, View } from 'react-native'; import ReactModal from 'react-native-modal'; import { ModalHeader } from './ModalHeader/modal-header'; import { styles } from './style'; import { statusBarHeight } from 'src/constants/constants'; type Props = { children: ReactNode; visible: boolean; onRequestClose?: () => void; visibleInPercent?: DimensionValue; headerTitle: string; }; export const Modal: FC = ({ children, onRequestClose, visible, visibleInPercent, headerTitle }) => { const screenHeight = Dimensions.get('screen').height; const adjustedHeight = screenHeight - statusBarHeight; return ( {children} ); }; const Drawer = () => { return ; };