1.0.2 • Published 6 years ago

@iume/react-native-text-field v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

react-native-text-field

Install

npm i --save @iume/react-native-text-field

or

yarn add @iume/react-native-text-field

Properties

NameDescriptionTypeDefault
typeSet text to use as TextInput. If view is selected, the field will not editable. Default value is text.text | viewtext
underlineColorThe underline color when the field is not focused.stringrgba(0, 0, 0, .12)
underlineColorFocusedThe underline color when the field is focused.stringrgba(0, 0, 0, .38)
underlineWidthThe underline width when the field is not focused.number1
underlineWidthFocusedThe underline width when the field is focused.number1.5
inputRefRef for the TextInput.React.Ref<TextInput>
containerStyleStyle for fields container.ViewStyle
styleStyle for TextInput and Text.TextStyle
activeOpacityDetermines what the opacity of the wrapped view should be when touch is active. Defaults to 0.5.number0.5
elementRightRender an element at right side.JSX.Element
disabledDisables the element.booleanfalse
onPressCalled when the touch is released. This event is just available if type property is set to view.