import React, { forwardRef } from 'react'; import { TextInput, View, Text, type TextInputProps } from 'react-native'; import { cn } from '@/lib/utils'; interface InputProps extends TextInputProps { label?: string; error?: string; className?: string; } export const Input = forwardRef( ({ label, error, className, ...props }, ref) => ( {label && ( {label} )} {error && ( {error} )} ), ); Input.displayName = 'Input';