search on web

This commit is contained in:
Thomas Demirdjian
2025-10-02 17:53:17 +02:00
parent ea421d8eff
commit 8846ca05ff
14 changed files with 656 additions and 415 deletions
@@ -11,23 +11,27 @@ const ResearchHeader = ({
selected,
searchValue = "",
onChangeSearch = () => {},
showSearchBar = true,
autoFocusSearch = true,
}) => {
return (
<View style={{ gap: 12 }}>
<SearchBar
textInputProps={{
value: searchValue,
onChangeText: onChangeSearch,
autoFocus: true,
}}
/>
{showSearchBar && (
<SearchBar
textInputProps={{
value: searchValue,
onChangeText: onChangeSearch,
autoFocus: autoFocusSearch,
}}
/>
)}
<View
style={{
...Style.containerRow,
gap: 6,
}}
>
{["Playbacks", "Clips", "Musiques", "Profils"].map((item, index) => (
{["Musiques", "Playbacks", "Profils"].map((item, index) => (
<Pressable key={index} onPress={() => onPress(item)}>
<BorderGradient
gradientProps={{