Input
Doorman's text input component. Serves as a drop-in replacement for React Native's TextInput.
Usage
Props
First, you can pass any of the props from React Native's TextInput
component. See their docs here.
Other optional props:
style
objectAny custom Text Input styles. Does not support an array.
textColor
stringbackgroundColor
stringtype
"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.
Last updated