RCTPicker.h 613 B

1234567891011121314151617181920212223
  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. #import <UIKit/UIKit.h>
  8. #import <React/UIView+React.h>
  9. @interface RCTPicker : UIPickerView
  10. @property (nonatomic, copy) NSArray<NSDictionary *> *items;
  11. @property (nonatomic, assign) NSInteger selectedIndex;
  12. @property (nonatomic, strong) UIColor *color;
  13. @property (nonatomic, strong) UIFont *font;
  14. @property (nonatomic, assign) NSTextAlignment textAlign;
  15. @property (nonatomic, copy) RCTBubblingEventBlock onChange;
  16. @end