File tree 2 files changed +27
-11
lines changed
2 files changed +27
-11
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,7 @@ function debug(...args) {
29
29
// console.log.apply(null, arguments);
30
30
}
31
31
32
- type Layout = {
33
- x : number ;
34
- y: number ;
35
- width: number ;
36
- height: number ;
37
- } ;
38
- type LayoutEvent = {
39
- nativeEvent : {
40
- layout : Layout ;
41
- } ;
42
- } ;
32
+ import type { Layout , LayoutEvent } from 'CoreEventTypes' ;
43
33
type Style = {
44
34
margin ?: number ,
45
35
padding ?: number ,
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) 2015-present, Facebook, Inc.
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the BSD-style license found in the
6
+ * LICENSE file in the root directory of this source tree. An additional grant
7
+ * of patent rights can be found in the PATENTS file in the same directory.
8
+ *
9
+ * @providesModule CoreEventTypes
10
+ * @flow
11
+ * @format
12
+ */
13
+
14
+ 'use strict' ;
15
+
16
+ export type Layout = {
17
+ x : number ,
18
+ y : number ,
19
+ width : number ,
20
+ height : number ,
21
+ } ;
22
+ export type LayoutEvent = {
23
+ nativeEvent : {
24
+ layout : Layout ,
25
+ } ,
26
+ } ;
You can’t perform that action at this time.
0 commit comments