mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ad34c63d9e
Summary: The new prop on RCTParagraphComponentView is meant to be used only by external introspection tools, not the RN core. Changelog: [Internal] Fabric-specific internal change. Reviewed By: nscoding Differential Revision: D20523078 fbshipit-source-id: 4c457d070fd2c172d681c5aa7f731d2d52bba291
28 lines
644 B
Objective-C
28 lines
644 B
Objective-C
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <React/RCTViewComponentView.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
/*
|
|
* UIView class for <Paragraph> component.
|
|
*/
|
|
@interface RCTParagraphComponentView : RCTViewComponentView
|
|
|
|
/*
|
|
* Returns an `NSAttributedString` representing the content of the component.
|
|
* To be only used by external introspection and debug tools.
|
|
*/
|
|
@property (nonatomic, nullable, readonly) NSAttributedString *attributedText;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|