We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 228a893 commit 1447a00Copy full SHA for 1447a00
src/ParsedText.js
@@ -62,9 +62,12 @@ class ParsedText extends React.Component {
62
const textExtraction = new TextExtraction(this.props.children, this.getPatterns());
63
64
return textExtraction.parse().map((props, index) => {
65
+ const { style: parentStyle } = this.props
66
+ const { style, ...remainder } = props
67
return (
68
<ReactNative.Text
69
key={`parsedText-${index}`}
70
+ style={[parentStyle, style]}
71
{...this.props.childrenProps}
72
{...props}
73
/>
0 commit comments