import * as React from 'react'; import { TextInput, View, type TextInputProps } from 'react-native'; import { cn } from '../../lib/utils'; import { Text } from './text'; import { Button, ButtonProps } from './button'; function Input({ className, placeholderClassName, label, buttonRight, ...props }: TextInputProps & { ref?: React.RefObject; label?: string; buttonRight?: ButtonProps; }) { let textInput = ( ); if (buttonRight) { textInput = ( {textInput}