import { forwardRef } from "react"; import { ActivityIndicator, Text, TextInput, View } from "react-native"; import { cn } from "@/lib/utils"; import { TailwindResolver } from "../TailwindResolver"; export interface InputProps extends React.ComponentPropsWithoutRef { label?: string; labelClasses?: string; inputClasses?: string; } const Input = forwardRef< React.ElementRef, InputProps & { loading?: boolean } >( ( { className, label, labelClasses, inputClasses, loading, ...props }, ref, ) => ( {label && {label}} ( )} /> {loading && ( )} ), ); Input.displayName = "Input"; export { Input };