Skip to content

Elex92/React-Native-RHTitleTextInput

Repository files navigation

React-Native-RHTitleTextInputnpm version

瑞昊RN项目带标题输入框

Install 安装

  • npm install react-native-rhtitleinput --save

属性说明

Props Description PropsType
title 输入框标题 String
value 已输入的值 String
maxLength 最大输入长度 Number
placeholder 输入框占位文字 String
isLine 是否需要下划线 Bool
onChangeText 输入框值发生改变回调 Func
lineAlign 下划线对齐方式 enum('left' 'center' 'right')
textAlign 输入框文字对齐方式 enum('left' 'center' 'right')
secureTextEntry 输入框文字是否密文显示 Bool
eyeShow 是否显示眼睛 Bool
TitleFontSize 标题文字大小 Number
InputFontSize 输入框文字大小 Number
onClickEye 点击眼睛回调 Func
lineColor 下划线颜色 String

更多属性请查看React-Native中文网中查下TextInput属性TextInput

About

瑞昊RN项目带标题输入框

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published