1.0.7 • Published 6 years ago

react-native-code-verification v1.0.7

Weekly downloads
11
License
MIT
Repository
-
Last release
6 years ago

react-native-code-verification

An UI module for user-side pincode verification.

Getting started

$ npm i react-native-code-verification --s

Props

NameTypeDescriptionDefault
descriptionTextStringA description textPlease enter pincode for entry
onEnteredPincodeFunctionA function that returns entered code-
onCloseViewFunctionOn press close button, will be useful to close view-
onPressTouchIdFunctionTouch Id is not available, but you can make it by yourself-

Screenshots

Usage

import Pincode from 'react-native-code-verification';

// TODO: What to do with the module?
class Example extends Component {
  public render() {
    return (
      <View style={styles.container}>
        <Pincode onEnteredPincode={pin => this.onDetectPin(pin)} />
      </View>
    );
  }
  private onDetectPin = pin => {
    console.log('pinCode>>>', pin);
  };
}

Credentials

MIT, Otel Danagul

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago