import { PropsWithChildren, type ComponentRef, ForwardRefExoticComponent, RefAttributes } from 'react'; import { WithStyledProps } from '@mapples/style'; import { TextInputProps, TextInput as RNTextInput } from 'react-native'; /** * A customizable text input component with built-in styling support. * * The TextInput component extends React Native's TextInput with additional styling * capabilities through the @mapples/style system. It supports all standard * TextInput properties and behaviors, and a `styled` prop whose values may be * theme or sizing references — the input's `style` and non-style colours such * as `placeholderTextColor` alike. * * The text is always passed to the native input as a string: while `value` is * undefined the component keeps the typed text itself, so a data binding that * resolves later (page variables register after the first render) does not * flip the input from uncontrolled to controlled. * * @example * ```tsx * * ``` * * @public */ declare const TextInput: ForwardRefExoticComponent> & RefAttributes>>; export default TextInput; //# sourceMappingURL=TextInput.d.ts.map