2015-03-23 22:07:33 +00:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2015-03-06 17:54:10 +00:00
|
|
|
|
|
|
|
#import "RCTTabBarManager.h"
|
|
|
|
|
|
|
|
#import "RCTBridge.h"
|
|
|
|
#import "RCTTabBar.h"
|
|
|
|
|
|
|
|
@implementation RCTTabBarManager
|
|
|
|
|
2015-04-09 15:46:53 +00:00
|
|
|
RCT_EXPORT_MODULE()
|
|
|
|
|
2015-03-06 17:54:10 +00:00
|
|
|
- (UIView *)view
|
|
|
|
{
|
2015-06-19 11:18:54 +00:00
|
|
|
return [[RCTTabBar alloc] initWithEventDispatcher:self.bridge.eventDispatcher];
|
2015-03-06 17:54:10 +00:00
|
|
|
}
|
|
|
|
|
2015-05-26 23:40:56 +00:00
|
|
|
RCT_EXPORT_VIEW_PROPERTY(tintColor, UIColor)
|
|
|
|
RCT_EXPORT_VIEW_PROPERTY(barTintColor, UIColor)
|
|
|
|
|
2015-03-06 17:54:10 +00:00
|
|
|
@end
|