diff --git a/index.d.ts b/index.d.ts index 3473a5d..f3fdc52 100644 --- a/index.d.ts +++ b/index.d.ts @@ -6,7 +6,7 @@ declare module "react-native-confirmation-code-input" { type InputPositions = 'left' | 'right' | 'center' | 'full-width'; type ClassNames = 'border-box' | 'border-circle' | 'border-b' | 'border-b-t' | 'border-l-r'; - interface CodeInputProps extends ReactNative.TextInputProperties { + interface CodeInputProps extends ReactNative.TextInputProps { codeLength?: number; compareWithCode?: string; inputPosition?: InputPositions; @@ -20,6 +20,7 @@ declare module "react-native-confirmation-code-input" { codeInputStyle?: any, containerStyle?: any; onFulfill: Function; + onCodeChange: Function; } export default class CodeInput extends React.Component { }