Skip to content

Commit 97381af

Browse files
authored
Merge pull request #55 from Root-App/stephenh-master
Update pull request 43 to fix linter error.
2 parents f68eccd + db598da commit 97381af

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*
7+
* @flow
8+
* @format
9+
*/
10+
11+
type I18nManagerStatus = {
12+
isRTL: boolean,
13+
doLeftAndRightSwapInRTL: boolean,
14+
allowRTL: (allowRTL: boolean) => {},
15+
forceRTL: (forceRTL: boolean) => {},
16+
swapLeftAndRightInRTL: (flipStyles: boolean) => {},
17+
};
18+
19+
const I18nManager: I18nManagerStatus = {
20+
isRTL: false,
21+
doLeftAndRightSwapInRTL: true,
22+
allowRTL: () => {},
23+
forceRTL: () => {},
24+
swapLeftAndRightInRTL: () => {},
25+
};
26+
27+
module.exports = I18nManager;

src/components/StatusBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const StatusBar = createReactClass({
1717
displayName: 'StatusBar',
1818
propTypes: {
1919
animated: PropTypes.bool,
20-
barStyle: PropTypes.oneOf(['default', 'light-content']),
20+
barStyle: PropTypes.oneOf(['default', 'light-content', 'dark-content']),
2121
backgroundColor: ColorPropType,
2222
hidden: PropTypes.bool,
2323
networkActivityIndicatorVisible: PropTypes.bool,

src/react-native.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ const ReactNative = {
7373
Dimensions: require('./api/Dimensions'),
7474
Easing: require('./api/Animated/Easing'),
7575
findNodeHandle: require('./api/findNodeHandle'),
76+
I18nManager: require('./Libraries/ReactNative/I18nManager'),
7677
ImagePickerIOS: require('./api/ImagePickerIOS'),
7778
IntentAndroid: require('./api/IntentAndroid'),
7879
InteractionManager: require('./api/InteractionManager'),

0 commit comments

Comments
 (0)