An open API service indexing awesome lists of open source software.

https://github.com/xcarpentier/rn-verifcode

🔢 React-Native component to input confirmation code for both Android and IOS
https://github.com/xcarpentier/rn-verifcode

react-native textinput verification-code

Last synced: 9 days ago
JSON representation

🔢 React-Native component to input confirmation code for both Android and IOS

Awesome Lists containing this project

README

        



   react-native-suggester



npm downloads

npm version

# rn-verifcode

> React-Native component to input confirmation code for both Android and IOS

- customizable
- fast paste **SMS-code**
- **copy from clipboard**
- reset code

## How to use it ?

```jsx
import * as React from 'react'
import { View, Button } from 'react-native'
import VerifCode from './src'

export default class App extends React.Component {
state = {}
ref = React.createRef()
render() {
return (

alert(code)} />
this.ref.current.reset()} />

)
}
}
```

## Props

```ts
interface Props extends TextInputProps {
autofocus?: boolean
numberOfDigits?: number
onFulfill?(code: string): void
}
```

## Hire an expert!
Looking for a ReactNative freelance expert with more than 12 years experience? Contact me from my [website](https://xaviercarpentier.com)!