'use client'; import { FormField, FormFieldControl, FormFieldDescription, FormFieldError, FormFieldItem, FormFieldLabel, } from '../form-field'; import { Input, InputProps } from '../input'; export type TextFieldProps = InputProps & { name: string; label: string; description?: string; wrapperClassName?: string; hideLabel?: boolean; errors?: string | null; hideErrorMessage?: boolean; }; export function TextField({ description, disabled, label, name, hideLabel = false, errors, required, hideErrorMessage = false, size = 'md', className, tone, ...rest }: TextFieldProps) { return ( {label} {description} ); }