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-11 02:11:28 +00:00
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
2015-11-03 22:45:46 +00:00
|
|
|
#import "UIView+React.h"
|
|
|
|
|
2015-03-11 02:11:28 +00:00
|
|
|
@interface RCTPicker : UIPickerView
|
|
|
|
|
2015-11-03 22:45:46 +00:00
|
|
|
@property (nonatomic, copy) NSArray<NSDictionary *> *items;
|
|
|
|
@property (nonatomic, assign) NSInteger selectedIndex;
|
2015-12-08 15:44:56 +00:00
|
|
|
|
|
|
|
@property (nonatomic, strong) UIColor *color;
|
|
|
|
@property (nonatomic, strong) UIFont *font;
|
|
|
|
@property (nonatomic, assign) NSTextAlignment textAlign;
|
|
|
|
|
2015-11-03 22:45:46 +00:00
|
|
|
@property (nonatomic, copy) RCTBubblingEventBlock onChange;
|
|
|
|
|
2015-03-11 02:11:28 +00:00
|
|
|
@end
|