inital commit
This commit is contained in:
23
src/screens/HomeScreen/HomeScreen.tsx
Normal file
23
src/screens/HomeScreen/HomeScreen.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import {Button, Modal, SafeAreaView, Text, View} from "react-native";
|
||||
import {useAppDispatch} from "../../redux/store";
|
||||
import {logoutUser, useGetPokemonByNameQuery} from "../../features/auth/authSlice";
|
||||
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;
|
||||
Reference in New Issue
Block a user