react-code-verifier
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

react-code-verifier

multiplatform react code verifier

Installation

npm install react-code-verifier

Usage

import * as React from 'react';

import { StyleSheet, View } from 'react-native';
import CodeVerifier from 'react-code-verifier';

export default function App() {
  return (
    <View style={styles.container}>
      <CodeVerifier onChange={(value) => console.log(value)} />
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    alignItems: 'center',
    justifyContent: 'center',
  },
  box: {
    width: 60,
    height: 60,
    marginVertical: 20,
  },
});

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i react-code-verifier

Weekly Downloads

0

Version

0.1.3

License

MIT

Unpacked Size

35.3 kB

Total Files

57

Last publish

Collaborators

  • manduks