mirror of
https://github.com/status-im/react-native.git
synced 2025-02-11 00:46:32 +00:00
- [react-packager] transformModulePath option is not actually required | Amjad Masad - Implement TextInput.clearButtonMode added by D1875684 on OSS fork + example | Tadeu Zagallo - [ReactNative] Use local CocoaPod config for ReactNative modules | Spencer Ahrens - [ReactNative] Pull out some OSS modules into separate libs | Spencer Ahrens - Enqueue events at 60fps + profiling helpers | Tadeu Zagallo
27 lines
973 B
Objective-C
27 lines
973 B
Objective-C
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
#import "RCTShadowView.h"
|
|
|
|
extern NSString *const RCTIsHighlightedAttributeName;
|
|
extern NSString *const RCTReactTagAttributeName;
|
|
|
|
@interface RCTShadowText : RCTShadowView
|
|
|
|
@property (nonatomic, assign) NSWritingDirection writingDirection;
|
|
@property (nonatomic, strong) UIColor *textBackgroundColor;
|
|
@property (nonatomic, strong) UIColor *color;
|
|
@property (nonatomic, strong) UIFont *font;
|
|
@property (nonatomic, copy) NSString *fontFamily;
|
|
@property (nonatomic, assign) CGFloat fontSize;
|
|
@property (nonatomic, copy) NSString *fontWeight;
|
|
@property (nonatomic, assign) BOOL isHighlighted;
|
|
@property (nonatomic, assign) CGFloat lineHeight;
|
|
@property (nonatomic, assign) NSInteger maxNumberOfLines;
|
|
@property (nonatomic, assign) CGSize shadowOffset;
|
|
@property (nonatomic, assign) NSTextAlignment textAlign;
|
|
@property (nonatomic, assign) NSLineBreakMode truncationMode;
|
|
|
|
- (NSAttributedString *)attributedString;
|
|
|
|
@end
|