diff --git a/MobileApp/src/components/common/card.js b/MobileApp/src/components/common/card.js index f86a8b8..1a0a4cc 100644 --- a/MobileApp/src/components/common/card.js +++ b/MobileApp/src/components/common/card.js @@ -25,7 +25,8 @@ const styles = StyleSheet.create({ shadowOffset: { width: 2, height: 2 }, - shadowOpacity: 0.5 + shadowOpacity: 0.5, + elevation: 5 } }) diff --git a/MobileApp/src/components/common/confirmation-modal.js b/MobileApp/src/components/common/confirmation-modal.js new file mode 100644 index 0000000..79b8584 --- /dev/null +++ b/MobileApp/src/components/common/confirmation-modal.js @@ -0,0 +1,27 @@ +import React, { Component } from 'react' +import { Modal, View, Text, Button, StyleSheet } from 'react-native' + +class ConfirmationModal extends Component { + render() { + const {visible, children, onConfirm, onCancel} = this.props + return ( + + + {children} +