diff --git a/src/index.tsx b/src/index.tsx index 0ce44ff..a1477bb 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -30,7 +30,7 @@ import { OtpInputsRef, SupportedKeyboardType } from './types'; const supportAutofillFromClipboard = Platform.OS === 'android' || parseInt(Platform.Version as string, 10) < 14; -type Props = TextInputProps & { +export type OtpInputsProps = TextInputProps & { autofillFromClipboard: boolean; autofillListenerIntervalMS?: number; keyboardType?: SupportedKeyboardType; @@ -54,7 +54,7 @@ const styles = StyleSheet.create({ }, }); -const OtpInputs = forwardRef( +const OtpInputs = forwardRef( ( { autoFocus,