Skip to content

Commit

Permalink
Revert inline view example
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
Adam Comella committed Feb 20, 2019
1 parent 34f9cb9 commit b87336b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions RNTester/js/TextExample.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -494,14 +494,10 @@ class TextExample extends React.Component<{}> {
This text will have a orange highlight on selection.
</Text>
</RNTesterBlock>
<RNTesterBlock title="Inline views">
<RNTesterBlock title="Inline images">
<Text>
This text contains an inline blue view{' '}
<View
style={{width: 25, height: 25, backgroundColor: 'steelblue'}}
/>{' '}
and an inline image <Image source={require('./flux.png')} />. Neat,
huh?
This text contains an inline image{' '}
<Image source={require('./flux.png')} />. Neat, huh?
</Text>
</RNTesterBlock>
<RNTesterBlock title="Text shadow">
Expand Down

0 comments on commit b87336b

Please sign in to comment.