fix(ui/components): fix Search icon (#46)

makes the icon actually visible
This commit is contained in:
nexpid 2024-06-04 12:53:56 +02:00 • committed by GitHub
parent 8a4d5fc0f3
commit 105e1c5ba7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,7 +11,7 @@ export interface SearchProps {
}
function SearchIcon() {
return <Image style={{ transform: [{ scale: 0.8 }] }} source={requireAssetIndex("search")} />;
return <Image style={{ width: 16, height: 16 }} source={requireAssetIndex("search")} />;
}
export default ({ onChangeText, placeholder, style }: SearchProps) => {