24 lines
608 B
Objective-C
24 lines
608 B
Objective-C
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <React/UIView+React.h>
|
|
|
|
@interface RCTPicker : UIPickerView
|
|
|
|
@property (nonatomic, copy) NSArray<NSDictionary *> *items;
|
|
@property (nonatomic, assign) NSInteger selectedIndex;
|
|
|
|
@property (nonatomic, strong) UIColor *color;
|
|
@property (nonatomic, strong) UIFont *font;
|
|
@property (nonatomic, assign) NSTextAlignment textAlign;
|
|
|
|
@property (nonatomic, copy) RCTBubblingEventBlock onChange;
|
|
|
|
@end
|