Fix Jest e2e by exposing accessibilityLabel in RCTParagraphComponentView

Summary: Changelog: [internal]

Reviewed By: shergin

Differential Revision: D26225118

fbshipit-source-id: 28e7292663ba8faf5d11f04da754dbec33efee90
This commit is contained in:
Samuel Susla
2021-02-03 12:22:07 -08:00
committed by Facebook GitHub Bot
parent 001dbf2068
commit 76a1db4b20
@@ -125,6 +125,11 @@ using namespace facebook::react;
#pragma mark - Accessibility
- (NSString *)accessibilityLabel
{
return self.attributedText.string;
}
- (BOOL)isAccessibilityElement
{
// All accessibility functionality of the component is implemented in `accessibilityElements` method below.