export interface IVerifyCodeProps { /** * puts the curser inside an verify code ready to type */ autoFocus?: boolean; /** * disable the verify code so the user cannot interact with it */ disabled?: boolean; /** * verify code is in error state */ hasError?: boolean; /** * verify code can have an id */ id?: string; /** * the expected length of the code. EG 123456 = 6 */ length: number; /** * label text for accessibility */ label?: string; /** * standard onBlur event */ onBlur?: (event: React.FocusEvent) => void; /** * standard onChange event */ onChange?: (event: React.ChangeEvent) => void; /** * a custom event triggered when the code entered is completed */ onComplete: (code: number) => void; /** * standard onFocus event */ onFocus?: (event: React.FocusEvent) => void; /** * apply custom CSS */ style?: React.CSSProperties; } //# sourceMappingURL=types.d.ts.map