import { Image, StyleSheet, TouchableOpacity } from "react-native"; import ScannerImage from "../assets/images/scan.png"; import KomojuText from "./KomojuText"; // When press the scan card button it will open the camera and scan the card, // without manually typing the card number, this will automaticaly fill in the // card field type ScanCardButtonProps = { onPress: () => void; }; const ScanCardButton = ({onPress}: ScanCardButtonProps) => { return ( SCAN_CARD ); }; export default ScanCardButton; const styles = StyleSheet.create({ cardScan: { width: 20, height: 20, marginRight: 8, }, scanIconRow: { flexDirection: "row", alignItems: "center", }, label: { fontSize: 16, color: "#172E44", }, });