react-native-confirmation-code-field
A react-native confirmation code field for both IOS and Android (base on this project Migration Guide)
Links
Screenshots
Install
yarn add react-native-confirmation-code-field
npm install react-native-confirmation-code-field
yarn add react-native-confirmation-code-field@beta
npm install react-native-confirmation-code-field@beta
Usage
import React, { Component } from 'react';
import CodeInput from 'react-native-confirmation-code-field';
class App extends Component {
handlerOnFulfill = code => console.log(code);
render() {
return <CodeInput onFulfill={this.handlerOnFulfill} />;
}
}