import type { ViewProps } from 'react-native'; import type { AnimationRootDisableAll } from '../../helpers/internal/types/index.js'; /** * Props for the TextField component */ export interface TextFieldRootProps extends ViewProps { /** * Children elements to be rendered inside the root container */ children?: React.ReactNode; /** * Whether the entire text field is disabled * @default false */ isDisabled?: boolean; /** * Whether the text field is in an invalid state * @default false */ isInvalid?: boolean; /** * Whether the text field is required (shows asterisk in label) * @default false */ isRequired?: boolean; /** * Additional CSS classes */ className?: string; /** * Animation configuration for text field root * - `"disable-all"`: Disable all animations including children (cascades down to all child components) * - `undefined`: Use default animations */ animation?: AnimationRootDisableAll; } /** * Context value for the TextField component */ export interface TextFieldContextValue { /** * Whether the entire text field is disabled */ isDisabled: boolean; /** * Whether the text field is in an invalid state * @default false */ isInvalid: boolean; /** * Whether the text field is required */ isRequired: boolean; } //# sourceMappingURL=text-field.types.d.ts.map