Module

ReactNative.Components.TextInput

Package
purescript-reactnative
Repository
doolse/purescript-reactnative

See TextInput

#textInput' Source

textInput' :: forall o. Optional o (TextInputPropsO) => Record o -> ReactElement

Create a TextInput with the given props

#TextInputRef Source

newtype TextInputRef

#ClearButtonMode Source

#KeyboardAppearance Source

#DocumentSelectionState Source

#DataDetectorType Source

#AutoCapitalize Source

#KeyboardType Source

newtype KeyboardType

#ReturnKeyType Source

#clearButtonMode Source

clearButtonMode :: { always :: ClearButtonMode, never :: ClearButtonMode, unlessEditing :: ClearButtonMode, whileEditing :: ClearButtonMode }

#keyboardType Source

keyboardType :: { asciiCapable :: KeyboardType, decimalPad :: KeyboardType, default :: KeyboardType, emailAddress :: KeyboardType, namePhonePad :: KeyboardType, numberPad :: KeyboardType, numbersAndPunctuation :: KeyboardType, numeric :: KeyboardType, phonePad :: KeyboardType, twitter :: KeyboardType, url :: KeyboardType, webSearch :: KeyboardType }

#dataDetectorType Source

dataDetectorType :: { address :: DataDetectorType, all :: DataDetectorType, calendarEvent :: DataDetectorType, link :: DataDetectorType, none :: DataDetectorType, phoneNumber :: DataDetectorType }

#autoCapitalize Source

autoCapitalize :: { characters :: AutoCapitalize, none :: AutoCapitalize, sentences :: AutoCapitalize, words :: AutoCapitalize }

#keyboardAppearance Source

#returnKeyType Source

returnKeyType :: { android :: { none :: ReturnKeyType, previous :: ReturnKeyType }, done :: ReturnKeyType, go :: ReturnKeyType, ios :: { default :: ReturnKeyType, emergencyCall :: ReturnKeyType, google :: ReturnKeyType, join :: ReturnKeyType, route :: ReturnKeyType, yahoo :: ReturnKeyType }, next :: ReturnKeyType, search :: ReturnKeyType, send :: ReturnKeyType }

#focus Source

focus :: TextInputRef -> Effect Unit

Focus the TextInput for the given ref

#isFocused Source

isFocused :: TextInputRef -> Boolean

See if TextInput is focussed for the given ref

#clear Source

clear :: TextInputRef -> Effect Unit

Clear the value of the TextInput for the given ref