1 /** 2 * Copyright (c) Facebook, Inc. and its affiliates. 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 8 #import <UIKit/UIKit.h> 9 10 #import <React/UIView+React.h> 11 12 #import "RNCPickerLabel.h" 13 14 @interface RNCPicker : UIPickerView 15 16 @property (nonatomic, copy) NSArray<NSDictionary *> *items; 17 @property (nonatomic, assign) NSInteger selectedIndex; 18 @property (nonatomic, assign) NSInteger selectionColor; 19 20 @property (nonatomic, strong) UIColor *color; 21 @property (nonatomic, strong) UIFont *font; 22 @property (nonatomic, assign) NSTextAlignment textAlign; 23 24 @property (nonatomic, assign) NSInteger numberOfLines; 25 26 @property (nonatomic, copy) RCTBubblingEventBlock onChange; 27 28 @end 29