Prettify common files

This commit is contained in:
Sofiya Tepikin
2022-08-23 12:55:25 +02:00
parent 732f19ed63
commit 1b8fd97d16
13 changed files with 52 additions and 52 deletions
+4 -4
View File
@@ -3,9 +3,9 @@ import { Modal, StyleSheet, TouchableOpacity } from 'react-native'
import PropTypes from 'prop-types'
const AppModal = ({ children, onClose }) => {
return(
return (
<Modal
animationType='fade'
animationType="fade"
onRequestClose={onClose}
transparent={true}
visible={true}
@@ -18,7 +18,7 @@ const AppModal = ({ children, onClose }) => {
AppModal.propTypes = {
children: PropTypes.node,
onClose: PropTypes.func
onClose: PropTypes.func,
}
const styles = StyleSheet.create({
@@ -26,7 +26,7 @@ const styles = StyleSheet.create({
backgroundColor: 'black',
flex: 1,
opacity: 0.5,
}
},
})
export default AppModal