react-native-input-code-otp
Version:
react-native-input-code-otp is a high-performance and fully customizable OTP input component for React Native, inspired by @shadcn/ui.
10 lines • 523 B
TypeScript
import type { TextInputOTPRef } from '../types';
export declare const TextInputOTP: import("react").ForwardRefExoticComponent<{
children: import("react").ReactNode;
autoFocus?: boolean;
maxLength: number;
onFilled?: (text: string) => void;
containerStyles?: import("react-native").StyleProp<import("react-native").ViewStyle>;
caretColor?: string;
} & Omit<import("react-native").TextInputProps, "style"> & import("react").RefAttributes<TextInputOTPRef>>;
//# sourceMappingURL=text-input-otp.d.ts.map