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 f86b57a commit ef63066Copy full SHA for ef63066
src/avatar.jsx
@@ -5,6 +5,7 @@ import DefaultRawTheme from './styles/raw-themes/light-raw-theme';
5
import ThemeManager from './styles/theme-manager';
6
7
const {
8
+ Text,
9
Image,
10
View,
11
StyleSheet,
@@ -112,7 +113,7 @@ const Avatar = React.createClass({
112
113
114
return <View {...other} style={this.prepareStyles(styles.root, style)}>
115
{iconElement}
- {this.props.children}
116
+ <Text>{this.props.children}</Text>
117
</View>;
118
}
119
},
0 commit comments