Files
Assemblr/src/screens/HomeScreen/HomeScreen.tsx
2023-10-13 05:40:03 +03:00

22 lines
714 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;