react-otp-custom
Version:
Customizable React OTP input component
20 lines (19 loc) • 465 B
TypeScript
export default OtpInput;
declare function OtpInput({ length, onChange, isNumeric, theme, shape, fontSize }: {
length?: number;
onChange: any;
isNumeric?: boolean;
theme?: string;
shape?: string;
fontSize?: number;
}): any;
declare namespace OtpInput {
namespace propTypes {
let length: any;
let onChange: any;
let isNumeric: any;
let theme: any;
let shape: any;
let fontSize: any;
}
}