UNPKG

react-native-confirmation-code-field

Version:

A react-native component to input confirmation code for both Android and IOS

3 lines (2 loc) 291 B
import type { BlurEvent, FocusEvent, TextInputProps } from 'react-native'; export declare const useFocusState: (onBlurFromProps?: TextInputProps["onBlur"], onFocusFromProps?: TextInputProps["onFocus"]) => readonly [boolean, (focusEvent: FocusEvent) => void, (blurEvent: BlurEvent) => void];