2018-01-24 10:17:57 +03:00
|
|
|
/**
|
2018-09-12 01:27:47 +03:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2018-01-24 10:17:57 +03:00
|
|
|
*
|
2018-02-17 05:24:55 +03:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2018-01-24 10:17:57 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#import <React/RCTShadowView.h>
|
|
|
|
|
|
|
|
#import "RCTTextAttributes.h"
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
extern NSString *const RCTBaseTextShadowViewEmbeddedShadowViewAttributeName;
|
|
|
|
|
2019-06-18 12:02:27 +03:00
|
|
|
@interface RCTBaseTextShadowView : RCTShadowView {
|
|
|
|
@protected NSAttributedString *_Nullable cachedAttributedText;
|
|
|
|
@protected RCTTextAttributes *_Nullable cachedTextAttributes;
|
|
|
|
}
|
2018-01-24 10:17:57 +03:00
|
|
|
|
|
|
|
@property (nonatomic, strong) RCTTextAttributes *textAttributes;
|
|
|
|
|
|
|
|
- (NSAttributedString *)attributedTextWithBaseTextAttributes:(nullable RCTTextAttributes *)baseTextAttributes;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|