2015-03-23 13:28:42 -07:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the BSD-style license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
*/
|
2015-02-19 20:10:52 -08:00
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
2016-11-23 07:47:52 -08:00
|
|
|
#import <React/RCTComponent.h>
|
2015-11-14 09:41:59 -08:00
|
|
|
|
2015-02-19 20:10:52 -08:00
|
|
|
@class RCTEventDispatcher;
|
|
|
|
|
2015-08-06 09:53:20 -07:00
|
|
|
@interface RCTTextField : UITextField
|
2015-02-19 20:10:52 -08:00
|
|
|
|
|
|
|
@property (nonatomic, assign) BOOL caretHidden;
|
2015-04-14 17:51:28 -07:00
|
|
|
@property (nonatomic, assign) BOOL selectTextOnFocus;
|
2015-11-04 21:01:49 -08:00
|
|
|
@property (nonatomic, assign) BOOL blurOnSubmit;
|
2015-03-27 09:36:33 -07:00
|
|
|
@property (nonatomic, assign) UIEdgeInsets contentInset;
|
2015-04-27 10:24:49 -07:00
|
|
|
@property (nonatomic, strong) UIColor *placeholderTextColor;
|
2015-07-21 12:37:24 -07:00
|
|
|
@property (nonatomic, assign) NSInteger mostRecentEventCount;
|
|
|
|
@property (nonatomic, strong) NSNumber *maxLength;
|
2015-02-19 20:10:52 -08:00
|
|
|
|
2015-11-14 09:41:59 -08:00
|
|
|
@property (nonatomic, copy) RCTDirectEventBlock onSelectionChange;
|
|
|
|
|
2015-03-01 15:33:55 -08:00
|
|
|
- (instancetype)initWithEventDispatcher:(RCTEventDispatcher *)eventDispatcher NS_DESIGNATED_INITIALIZER;
|
2015-11-02 09:13:41 -08:00
|
|
|
|
2015-02-19 20:10:52 -08:00
|
|
|
@end
|