2019-10-16 20:03:47 +03:00
|
|
|
/*
|
2018-09-12 01:27:47 +03:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2015-03-24 01:07:33 +03:00
|
|
|
*
|
2018-02-17 05:24:55 +03:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-03-24 01:07:33 +03:00
|
|
|
*/
|
2015-03-11 05:11:28 +03:00
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
2016-11-23 18:47:52 +03:00
|
|
|
#import <React/UIView+React.h>
|
2015-11-04 01:45:46 +03:00
|
|
|
|
2015-03-11 05:11:28 +03:00
|
|
|
@interface RCTPicker : UIPickerView
|
|
|
|
|
2015-11-04 01:45:46 +03:00
|
|
|
@property (nonatomic, copy) NSArray<NSDictionary *> *items;
|
|
|
|
@property (nonatomic, assign) NSInteger selectedIndex;
|
2015-12-08 18:44:56 +03:00
|
|
|
|
|
|
|
@property (nonatomic, strong) UIColor *color;
|
|
|
|
@property (nonatomic, strong) UIFont *font;
|
|
|
|
@property (nonatomic, assign) NSTextAlignment textAlign;
|
|
|
|
|
2015-11-04 01:45:46 +03:00
|
|
|
@property (nonatomic, copy) RCTBubblingEventBlock onChange;
|
|
|
|
|
2015-03-11 05:11:28 +03:00
|
|
|
@end
|