import type { TextInputProps } from "react-native"; import { forwardRef } from "react"; import { ActivityIndicator, TextInput, View } from "react-native"; import { Text } from "@/components/ui/Text"; import { cn } from "@/lib/utils"; 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 && ( )} ); }, );