2015-03-23 23:28:42 +03: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-20 07:10:52 +03:00
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
|
|
@class RCTEventDispatcher;
|
|
|
|
|
2015-07-21 22:37:24 +03:00
|
|
|
@interface RCTTextField : UITextField<UITextFieldDelegate>
|
2015-02-20 07:10:52 +03:00
|
|
|
|
|
|
|
@property (nonatomic, assign) BOOL caretHidden;
|
|
|
|
@property (nonatomic, assign) BOOL autoCorrect;
|
2015-04-15 03:51:28 +03:00
|
|
|
@property (nonatomic, assign) BOOL selectTextOnFocus;
|
2015-03-27 19:36:33 +03:00
|
|
|
@property (nonatomic, assign) UIEdgeInsets contentInset;
|
2015-04-27 20:24:49 +03:00
|
|
|
@property (nonatomic, strong) UIColor *placeholderTextColor;
|
2015-07-21 22:37:24 +03:00
|
|
|
@property (nonatomic, assign) NSInteger mostRecentEventCount;
|
|
|
|
@property (nonatomic, strong) NSNumber *maxLength;
|
2015-02-20 07:10:52 +03:00
|
|
|
|
2015-03-02 02:33:55 +03:00
|
|
|
- (instancetype)initWithEventDispatcher:(RCTEventDispatcher *)eventDispatcher NS_DESIGNATED_INITIALIZER;
|
2015-02-20 07:10:52 +03:00
|
|
|
|
|
|
|
@end
|