UNPKG

613 Btext/x-cView Raw
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@interface RCTPicker : UIPickerView
13
14@property (nonatomic, copy) NSArray<NSDictionary *> *items;
15@property (nonatomic, assign) NSInteger selectedIndex;
16
17@property (nonatomic, strong) UIColor *color;
18@property (nonatomic, strong) UIFont *font;
19@property (nonatomic, assign) NSTextAlignment textAlign;
20
21@property (nonatomic, copy) RCTBubblingEventBlock onChange;
22
23@end