This is documentation for the next SDK version. For up-to-date documentation, see the latest version (SDK 54).
TextInput
A Jetpack Compose TextInput component for text input.
Android
A text input component that allows users to enter and edit text using native Android text fields.
Installation
Terminal
- npx expo install @expo/uiIf you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
import { TextInput } from '@expo/ui/jetpack-compose'; <TextInput autocorrection={false} defaultValue="A single line text input" onChangeText={setValue} />
See Official Jetpack Compose documentation for more information.
API
import { TextInput } from '@expo/ui/jetpack-compose';
No API data file found, sorry!