1.0.1 • Published 4 years ago

react-native-svcode-input v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

react-native-svcode-input

Install

$ yarn add react-native-svcode-input

or

$ npm install react-native-svcode-input --save

Import

import {CodeInput} from 'react-native-svcode-input'

Example

<CodeInput
  style={styles.codeInput}
  length={5}
  normalGridStyle={{ color: 'red', borderColor: 'pink' }}
  careGridStyle={{ borderColor: 'blue' }} 
  autoFocus={true}
  onChangeText={(str)=>{
    console.info(str)
  }}/>

npm.io