-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflow.js
More file actions
44 lines (31 loc) · 860 Bytes
/
flow.js
File metadata and controls
44 lines (31 loc) · 860 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// @flow
import React from 'react';
// CORE API
declare type $reactors$platform = 'desktop'
| 'mobile'
| 'web'
| 'node'
;
declare type $reactors$Core$Event = {};
declare type $reactors$Core$props = {
children?: ?$React$Children | ?$React$Children[],
onPress?: {[event: $reactors$Core$Event]: any},
style?: $reactors$StyleSheet$Rule,
};
// STYLESHEET API
declare type $reactors$StyleSheet$Rule = {
[property: string]: any,
};
declare type $reactors$styleSheet = {
[selector: string]: $reactors$StyleSheet$Rule,
};
declare type $reactors$StyleSheet$Transformer = {
[key: string]: any,
};
// GESTURE API
declare type $reactors$Gesture$handlers = {
onPress?: {[event: $reactors$Core$Event]: boolean},
onEnter?: {[event: $reactors$Core$Event]: boolean},
};
// REACT
declare type $React$Children = null | string | React.Element;