import React from 'react';
import { StyleSheet } from 'react-native';
import MaterialCommunityIcon from 'react-native-vector-icons/MaterialCommunityIcons';
import {
Container,
Wrapper,
WrapperFloatBtn,
IconControl
} from './styles';
export const DrawerView = (props: any) => {
const {
children,
isOpen,
width,
height,
onClickIcon,
iconStyles
} = props;
return (
isOpen && (
<>
onClickIcon()}
>
{children}
>
)
)
}
const styles = StyleSheet.create({
shadow:{
shadowColor: 'rgba(0.0, 0.0, 0.0, 0.5)',
shadowOffset: {
width: 0,
height: 1.5,
},
shadowOpacity: 0.21,
shadowRadius: 5,
elevation: 16
}
})