Module

ReactNative.Components.TextInput

Package
purescript-reactnative
Repository
doolse/purescript-reactnative

See TextInput

#TextInputRef Source

newtype TextInputRef

#textInput' Source

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

Create a TextInput with the given props

#focus Source

focus :: forall eff. TextInputRef -> Eff eff 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 :: forall eff. TextInputRef -> Eff eff Unit

Clear the value of the TextInput for the given ref

#DocumentSelectionState Source

#KeyboardType Source

newtype KeyboardType

#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 }

#AutoCapitalize Source

#autoCapitalize Source

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

#ReturnKeyType 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 }

#ClearButtonMode Source

#clearButtonMode Source

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

#KeyboardAppearance Source

#keyboardAppearance Source

#DataDetectorType Source

#dataDetectorType Source

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