mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 17:54:48 +00:00
44af4d19d3
Summary: Previosly `borderWidth` did not affect actual content inset (which was a problem). Reviewed By: mmmulani Differential Revision: D5072483 fbshipit-source-id: d43cba7414a9335b9f9fd4d1565d7aee403cce0e
32 lines
1.0 KiB
Objective-C
32 lines
1.0 KiB
Objective-C
/**
|
|
* 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.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <React/RCTComponent.h>
|
|
|
|
@class RCTBridge;
|
|
|
|
@interface RCTTextField : UITextField
|
|
|
|
@property (nonatomic, assign) BOOL caretHidden;
|
|
@property (nonatomic, assign) BOOL selectTextOnFocus;
|
|
@property (nonatomic, assign) BOOL blurOnSubmit;
|
|
@property (nonatomic, strong) UIColor *placeholderTextColor;
|
|
@property (nonatomic, assign) NSInteger mostRecentEventCount;
|
|
@property (nonatomic, strong) NSNumber *maxLength;
|
|
@property (nonatomic, assign) UIEdgeInsets reactPaddingInsets;
|
|
@property (nonatomic, assign) UIEdgeInsets reactBorderInsets;
|
|
|
|
@property (nonatomic, copy) RCTDirectEventBlock onSelectionChange;
|
|
|
|
- (instancetype)initWithBridge:(RCTBridge *)bridge NS_DESIGNATED_INITIALIZER;
|
|
|
|
@end
|