Skip to content

Commit 7b41ead

Browse files
committed
Add TabbarIOS and ToolbarAndroid as unimplemented views for flow
This is required for static checking for react-native-vector-icons.
1 parent 66623bc commit 7b41ead

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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 TabBarIOS
10+
* @flow
11+
*/
12+
'use strict';
13+
14+
module.exports = require('UnimplementedView');
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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 ToolbarAndroid
10+
*/
11+
'use strict';
12+
13+
module.exports = require('UnimplementedView');

Libraries/react-native/react-native.js.flow

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ var ReactNative = Object.assign(Object.create(require('React')), {
4747
Text: require('Text'),
4848
TextInput: require('TextInput'),
4949
Touchable: require('Touchable'),
50+
ToolbarAndroid: require('ToolbarAndroid'),
51+
TabBarIOS: require('TabBarIOS'),
5052
TouchableHighlight: require('TouchableHighlight'),
5153
TouchableOpacity: require('TouchableOpacity'),
5254
TouchableWithoutFeedback: require('TouchableWithoutFeedback'),

0 commit comments

Comments
 (0)