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 16ba9b3 commit f86b57aCopy full SHA for f86b57a
src/card/card-text.jsx
@@ -4,7 +4,7 @@ import ThemeManager from '../styles/theme-manager';
4
import DefaultRawTheme from '../styles/raw-themes/light-raw-theme';
5
6
const {
7
- View,
+ Text,
8
} = React;
9
10
const CardText = React.createClass({
@@ -62,9 +62,9 @@ const CardText = React.createClass({
62
let rootStyle = this.prepareStyles(styles.root, this.props.style);
63
64
return (
65
- <View {...this.props} style={rootStyle}>
+ <Text {...this.props} style={rootStyle}>
66
{this.props.children}
67
- </View>
+ </Text>
68
);
69
},
70
});
0 commit comments