This is an excerpt from Manning's book React Native in Action. Login to get full access to this book.
TextInput takes a few other props. Here, you specify a placeholder to show text before the user starts to type, a placeholderTextColor that styles the placeholder text, and a selectionColor that styles the cursor for the TextInput.
TextInput
placeholder
placeholderTextColor
selectionColor