Skip to content

Commit

Permalink
Merge 1a4467a into c9919d6
Browse files Browse the repository at this point in the history
  • Loading branch information
gmsgowtham committed May 4, 2023
2 parents c9919d6 + 1a4467a commit d6536dc
Show file tree
Hide file tree
Showing 3 changed files with 581 additions and 6 deletions.
7 changes: 5 additions & 2 deletions src/lib/Renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ class Renderer implements RendererInterface {
key={this.getKey()}
contentContainerStyle={containerStyle}
>
<Text style={textStyle}>{text}</Text>
<Text selectable style={textStyle}>
{text}
</Text>
</ScrollView>
);
}
Expand Down Expand Up @@ -97,6 +99,7 @@ class Renderer implements RendererInterface {
): ReactNode {
return (
<Text
selectable
accessibilityRole="link"
accessibilityHint="Opens in a new window"
key={this.getKey()}
Expand Down Expand Up @@ -214,7 +217,7 @@ class Renderer implements RendererInterface {
styles?: TextStyle,
): ReactNode {
return (
<Text key={this.getKey()} style={styles}>
<Text selectable key={this.getKey()} style={styles}>
{children}
</Text>
);
Expand Down
Loading

0 comments on commit d6536dc

Please sign in to comment.