Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-native-input-xg

xgfe482MIT0.0.2

react native input component for both Android and IOS, useing pure JavaScript

react-native, input, react-native-input

readme

The react-native-input-xg

  • react native Input component for both Android and iOS based on pure JavaScript

Main

  • This component provide some more functions besides the basic input RN provided

Properties

  • Besides the basic properties RN provided, we also provide belows:

image

Properties

Prop Default Type Description
label undefined string Specify the label of the input
defaultValue undefined string Specify the default value of the input
editable true bool if you can edit the input
multiline false bool if the input support the multiline
error false bool for you to judge if the content is wrong
required false bool give you an indicate to show this one is a must
tips undefined string give some more explanation
wrapperStyle - style Specify the wrapper style
focusStyle - style Specify the style when focus
disabledStyle - style Specify the style when disabled
errorStyle - style Specify the style when there's some error
labelStyle - style Specify the label style
initJudge true bool if judge error when init
readOnly false bool you can only see but can not operate

changelog

0.0.2 (2017-03-20)

Bug Fixes

  • package.json: change test (81bee15)

Features

  • Button: add Button Component (c2a9f3c)
  • Confirm: add Confirm component (1882fd5)
  • Drawer / LabelSelect / Grading: add three new components (4dfdfcb)
  • GLOBAL: change readme (e7e32c1)
  • Input: add Input component (77f6b75)
  • Input: Add Real Input (e020d69)
  • Link: add Link component (e3ea982)
  • Tab: add Tab component (b300a96)
  • tools: add new command to generate boilerplate (734a8e9)