We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eea7fa commit 15fb27eCopy full SHA for 15fb27e
patch-rn.js
@@ -5,9 +5,9 @@ const { promisify } = require('util');
5
const glob = require('glob');
6
7
const pattern = new RegExp(
8
- 'invariant\\([\\s\\S]' +
9
- 'hostContext\\.isInAParentText,[\\s\\S]' +
10
- '"Text strings must be rendered within a <Text> component\\."[\\s\\S]' +
+ 'invariant\\([\\s\\S]+' +
+ '(hostContext|type)\\.isInAParentText,[\\s\\S]+' +
+ '"Text strings must be rendered within a <Text> component\\."[\\s\\S]+?' +
11
'\\);'
12
);
13
0 commit comments