UNPKG

goobs-frontend

Version:

A comprehensive React-based libary for building modern web applications

29 lines 1.13 kB
import { FC } from 'react'; import { ButtonProps } from '../Button'; import { ConfirmationCodeInputStyles } from '../../theme'; export interface ConfirmationCodeInputsProps { identifier?: string; isValid: boolean; codeLength?: number; 'aria-label'?: string; 'aria-required'?: boolean; 'aria-invalid'?: boolean; onChange?: (value: string) => void; value?: string; codeSent?: boolean; onVerify?: () => void | Promise<void>; onSendResend?: () => void | Promise<void>; onDisableVerification: () => void | Promise<void>; verifyButtonProps?: Partial<ButtonProps>; sendResendButtonProps?: Partial<ButtonProps>; disableVerificationButtonProps?: Partial<ButtonProps>; showActionButtons?: boolean; showSendResendButton?: boolean; successMessage?: string; showSuccessState?: boolean; /** Comprehensive styling options including theme, custom colors, and layout properties. */ styles?: ConfirmationCodeInputStyles; } declare const ConfirmationCodeInputs: FC<ConfirmationCodeInputsProps>; export default ConfirmationCodeInputs; //# sourceMappingURL=index.d.ts.map