import type { TextInputProps } from "react-native"; 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 TextInputProps { label?: string; labelClasses?: string; inputClasses?: string; loading?: boolean; } export const Input = forwardRef( ( { className, label, labelClasses, inputClasses, loading, ...props }, ref, ) => { return ( {label && ( {label} )} ( )} /> {loading && ( )} ); }, );