Adapted the layout and changed TextInput to Input from native base to support the theme

This commit is contained in:
Clément Le Bihan
2023-12-06 15:42:15 +01:00
parent 81717ec5b1
commit 24a226b283
2 changed files with 64 additions and 37 deletions
+6 -8
View File
@@ -1,16 +1,14 @@
import React from 'react';
import { View } from 'react-native';
import ScaffoldCC from '../../components/UI/ScaffoldCC';
import SearchBarComponent from '../../components/V2/SearchBar';
import { RouteProps } from '../../Navigation';
// search with all parameters from search bar function
// return to search bar auto completion thing
const SearchView = () => {
// eslint-disable-next-line @typescript-eslint/ban-types
const SearchView = (props: RouteProps<{}>) => {
return (
<View style={{ display: 'flex', flexDirection: 'column', padding: 3 }}>
<ScaffoldCC routeName={props.route.name}>
<SearchBarComponent />
</View>
</ScaffoldCC>
);
};