mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +00:00
76ea00483d
Summary: [Origin Pull request](https://github.com/facebook/react-native/pull/961) from [cmcewen](https://github.com/cmcewen) All the work have been done by @cmcewen, I just rebased his work with the master. Closes https://github.com/facebook/react-native/pull/1337 Github Author: Stan Chollet <stanislas.chollet@gmail.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
30 lines
670 B
Objective-C
30 lines
670 B
Objective-C
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
#import "RCTTabBarManager.h"
|
|
|
|
#import "RCTBridge.h"
|
|
#import "RCTTabBar.h"
|
|
|
|
@implementation RCTTabBarManager
|
|
|
|
@synthesize bridge = _bridge;
|
|
|
|
RCT_EXPORT_MODULE()
|
|
|
|
- (UIView *)view
|
|
{
|
|
return [[RCTTabBar alloc] initWithEventDispatcher:_bridge.eventDispatcher];
|
|
}
|
|
|
|
RCT_EXPORT_VIEW_PROPERTY(tintColor, UIColor)
|
|
RCT_EXPORT_VIEW_PROPERTY(barTintColor, UIColor)
|
|
|
|
@end
|