UNPKG

@pakenfit/react-native-pin-input

Version:
17 lines 673 B
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