forked from ttdung11t2/react-native-confirmation-code-input
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
26 lines (22 loc) · 864 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import * as React from "react";
import * as ReactNative from "react-native";
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 {
codeLength?: number;
compareWithCode?: string;
inputPosition?: InputPositions;
size?: number;
space?: number;
className?: ClassNames;
cellBorderWidth?: number;
activeColor?: string;
inactiveColor?: string;
ignoreCase?: boolean;
codeInputStyle?: any,
containerStyle?: any;
onFulfill: Function;
}
export default class CodeInput extends React.Component<CodeInputProps, any> { }
}