From 24a226b2834f817b74da2b472969c4dadfdbdb02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Wed, 6 Dec 2023 15:42:15 +0100 Subject: [PATCH] Adapted the layout and changed TextInput to Input from native base to support the theme --- front/components/V2/SearchBar.tsx | 87 ++++++++++++++++++++----------- front/views/V2/SearchView.tsx | 14 +++-- 2 files changed, 64 insertions(+), 37 deletions(-) diff --git a/front/components/V2/SearchBar.tsx b/front/components/V2/SearchBar.tsx index 1f0198d..97368b6 100644 --- a/front/components/V2/SearchBar.tsx +++ b/front/components/V2/SearchBar.tsx @@ -1,11 +1,11 @@ import React from 'react'; import { Button, Text, Select } from 'native-base'; import { ScrollView, TextInput, View } from 'react-native'; +import { Input } from 'native-base'; import ButtonBase from '../UI/ButtonBase'; import { AddSquare, CloseCircle, SearchNormal1 } from 'iconsax-react-native'; import { useQuery } from '../../Queries'; import API from '../../API'; -import { LoadingView } from '../Loading'; import Genre from '../../models/Genre'; type ArtistChipProps = { @@ -17,7 +17,7 @@ type ArtistChipProps = { const ArtistChipComponent = (props: ArtistChipProps) => { return ( -