import {Button, Modal, SafeAreaView, Text, View} from "react-native";
import {useAppDispatch} from "../../redux/store";
import * as process from "process";
import React, {useState} from "react";
import BasicButton from "../../components/BasicButton/BasicButton";
import SearchBar from "components/SearchBar/SearchBar";
import ScanModal from "components/SearchBar/ScanModal";
import DText from "../../components/DText/DText";

function HomeScreen() {
    return (
        <View style={{backgroundColor: "white"}}>
            <SearchBar onSearch={(text) => {
                console.log(`From scanner: ${text}`)
            }}/>
            <DText>Хуй</DText>
        </View>

    )
}

export default HomeScreen;