import { Pressable, View } from 'react-native'; import { Icon } from '../../atoms/Icon'; import { cn } from '../../lib/cn'; import { Input } from '../../ui/input'; import type { SearchInputProps } from './SearchInput.types'; export function SearchInput({ value, onClear, containerClassName, placeholder = 'Buscar...', ...props }: SearchInputProps) { const showClear = Boolean(value) && Boolean(onClear); return ( {showClear ? ( ) : null} ); }