-
Notifications
You must be signed in to change notification settings - Fork 119
Expand file tree
/
Copy pathindex.d.ts
More file actions
25 lines (22 loc) · 707 Bytes
/
index.d.ts
File metadata and controls
25 lines (22 loc) · 707 Bytes
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 { ViewStyle, TextStyle } from 'react-native';
export type GesPasswordStates = 'normal' | 'right' | 'wrong'
export interface GesturePasswordProps {
style?: ViewStyle,
transparentLine?: boolean,
textStyle?: TextStyle,
message?: string,
normalColor?: string,
rightColor?: string,
wrongColor?: string,
status?: GesPasswordStates,
interval?: number,
allowCross?: boolean,
innerCircle?: boolean,
outerCircle?: boolean
onStart?: () => void,
onEnd?: (password: string) => void,
onReset?: () => void
}
declare class GesturePassword extends React.Component<GesturePasswordProps> { }
export default GesturePassword;