1.0.4 • Published 1 year ago

@snskar125/rn-pininput v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

@snskar125/rn-pininput

Customizable PIN Input Component for React Native

Usage

import PINInput from '@snskar125/rn-pininput'
import { useState } from 'react'
export default function App(){
    const [ value, setValue ] = useState("")
    return (
        <PINInput value={value} onChangeValue={setValue}/>
    )
}

Props

PropType
valueString
onChangeValueFunction
numberOfDigitsNumber
containerStyleView Style
textStyleText Style
inputBoxStyleView Style
focusedInputBoxStyleView Style
hiddenBoolean
onPressInputFunction
hiddenCharacterString
animatedBoolean

Methods

focus() blur() shake()

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago