-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
28 lines (24 loc) · 857 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
27
28
// Type definitions for react-native-modal-dropdown 0.6
// Project: https://github.com/sohobloo/react-native-modal-dropdown
// Definitions by: Carlos Li <https://github.com/echoulen>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import * as React from 'react';
import Contact = RNContact.Contact;
export = Contact;
declare namespace RNContact {
interface ContactProps {
otherContactList?: Array<Object>;
viewCloseStyle?: StyleSheet;
viewCheckMarkStyle?: StyleSheet;
sepratorStyle?: StyleSheet;
viewSepratorStyle?: StyleSheet;
searchBgColor?: String;
searchPlaceholder?: String;
onContactSelected?: (item: object) => void;
onContactRemove?: (index: object) => void;
}
class Contact extends React.Component<ContactProps> {
static default: typeof Contact;
}
}