@pakenfit/react-native-pin-input
Version:
Phone Pin Input for React Native
17 lines • 673 B
TypeScript
import React from 'react';
import { ViewProps, TextInputProps } from 'react-native';
export type PinInputRef = {
clear: () => void;
};
type PinInputProps = {
inputProps?: Omit<TextInputProps, 'style' | 'onChangeText' | 'onKeyPress' | 'autoComplete' | 'keyboardType' | 'autoFocus'>;
inputStyle?: TextInputProps['style'];
containerProps?: Omit<ViewProps, 'style'>;
containerStyle?: ViewProps['style'];
length?: number;
onFillEnded?: (otp: string) => void;
autoFocus?: boolean;
};
export declare const PinInput: React.ForwardRefExoticComponent<PinInputProps & React.RefAttributes<PinInputRef>>;
export {};
//# sourceMappingURL=PinInput.d.ts.map