Input
Doorman's text input component. Serves as a drop-in replacement for React Native's TextInput.
Last updated
Doorman's text input component. Serves as a drop-in replacement for React Native's TextInput.
Last updated
First, you can pass any of the props from React Native's TextInput
component. See their docs here.
Other optional props:
style
object
Any custom Text Input styles. Does not support an array.
textColor
string
backgroundColor
string
type
"elevated"
| "flat"
Define which pre-made style type for the input you would like.
elevated
has drop shadow and a colored background that contrasts with the screen background.
flat
has a transparent background and is more subtle.