Home > react-native-material-kit > TextfieldProps

TextfieldProps interface

Props of the Textfield component

Signature:

export interface TextfieldProps extends TextInputProps, FloatingLabelPublicProps, UnderlinePublicProps 

Properties

Property Type Description
additionalInputProps TextInputProps Additional props passed directly to the react native TextInput component
highlightColor any Color of the highlighted underline, and also the floating label
onTextChange (text: string) => void alias to onChangeText
password boolean Alias to secureTextEntry
textInputStyle StyleProp<TextStyle> Style applied to the TextInput component, ok to use StyleSheet
tint any Color of the un-highlighted underline, and the placeholder - TODO cursor color is not affected for now https://github.com/facebook/react-native/issues/1685