andreaswilli/react-verification-input

How do you retrieve the value?

jmxxii opened this issue · 3 comments

Cannot find a way to retrieve the value of the input.

There is an input prop that is not mentioned in the docs.

<VerificationInput input={{ onChange: (e) => this.setState({ value: e }) }} />

Maybe should expose onChange prop.

onChange prop is now available in v2.0.0.