rn-otp-input-field

1.0.0 • Public • Published

rn-otp-input-field A customizable OtpScreen screen component for React Native projects. Use this open source library in your fresh React Native project for instant startup.

Table of Contents

Installation

To use rn-otp-input-field in your React Native project, simply install it using npm or yarn:

yarn add rn-otp-input-field
or
npm install rn-otp-input-field

Usage

To use the OtpScreen component in your app, import it from the rn-otp-input-field package and render it as the second component in your app after splash screen. You can customize the appearance and behavior of the OtpScreen screen by passing in props.

How to use

import OtpScreen from "rn-otp-input-field";

function App() {
  return <OtpScreen length={4} />;
}

Props

The OtpScreen component accepts the following props:

Prop Name Data Type Description
length bool Otp Input length
--------- --------- -----------
otpInputStyle any Your otpInput Style
--------- --------- -----------
containerStyle any Your container Style

Contributors

We would like to thank the following developers for their contributions to this project:

To all our contributors, thank you for your hard work and dedication!

License

This package is released under the MIT License.

Package Sidebar

Install

npm i rn-otp-input-field

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

5.41 kB

Total Files

3

Last publish

Collaborators

  • ittechxpert