forked from ttdung11t2/react-native-confirmation-code-input
-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.d.ts
25 lines (21 loc) · 808 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
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 BorderTypes = 'clear' | 'square' | 'circle' | 'underline';
interface CodeInputProps extends ReactNative.TextInputProperties {
inputComponent?: Function;
codeLength?: number;
inputPosition?: InputPositions;
size?: number;
space?: number;
borderType?: BorderTypes;
cellBorderWidth?: number;
activeColor?: string;
inactiveColor?: string;
codeInputStyle?: any,
containerStyle?: any;
onFulfill: Function;
}
export default class CodeInput extends React.Component<CodeInputProps, any> { }
}