Skip to content

Commit

Permalink
chore: Update TextExample
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldonadel committed Sep 8, 2022
1 parent 844522d commit 6c53112
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions packages/rn-tester/js/examples/Text/TextExample.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,7 @@ const React = require('react');
const TextInlineView = require('../../components/TextInlineView');
import TextLegend from '../../components/TextLegend';

const {
LayoutAnimation,
StyleSheet,
Text,
View,
TextInput,
} = require('react-native');
const {LayoutAnimation, StyleSheet, Text, View} = require('react-native');

class Entity extends React.Component<{|children: React.Node|}> {
render(): React.Node {
Expand Down Expand Up @@ -1011,10 +1005,10 @@ exports.examples = [
</Text>
<Text
style={{textAlignVertical: 'center', borderWidth: 1, height: 75}}>
Text element aligned to the middle textAlignVertical
Text element aligned to the middle via textAlignVertical
</Text>
<Text style={{verticalAlign: 'middle', borderWidth: 1, height: 75}}>
Text element aligned to the middle via textAlignVertical
Text element aligned to the middle via verticalAlign
</Text>
</View>
);
Expand Down

0 comments on commit 6c53112

Please sign in to comment.