Skip to content

Commit b87336b

Browse files
author
Adam Comella
committed
Revert inline view example
The example won't actually work in master until we've removed an assert from the React repo (e.g. so ReactNativeRenderer-dev.js doesn't fail an assert when it detects an inline view)
1 parent 34f9cb9 commit b87336b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

RNTester/js/TextExample.android.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -494,14 +494,10 @@ class TextExample extends React.Component<{}> {
494494
This text will have a orange highlight on selection.
495495
</Text>
496496
</RNTesterBlock>
497-
<RNTesterBlock title="Inline views">
497+
<RNTesterBlock title="Inline images">
498498
<Text>
499-
This text contains an inline blue view{' '}
500-
<View
501-
style={{width: 25, height: 25, backgroundColor: 'steelblue'}}
502-
/>{' '}
503-
and an inline image <Image source={require('./flux.png')} />. Neat,
504-
huh?
499+
This text contains an inline image{' '}
500+
<Image source={require('./flux.png')} />. Neat, huh?
505501
</Text>
506502
</RNTesterBlock>
507503
<RNTesterBlock title="Text shadow">

0 commit comments

Comments
 (0)