Skip to content

Commit f86b57a

Browse files
committed
fix card-text
1 parent 16ba9b3 commit f86b57a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/card/card-text.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import ThemeManager from '../styles/theme-manager';
44
import DefaultRawTheme from '../styles/raw-themes/light-raw-theme';
55

66
const {
7-
View,
7+
Text,
88
} = React;
99

1010
const CardText = React.createClass({
@@ -62,9 +62,9 @@ const CardText = React.createClass({
6262
let rootStyle = this.prepareStyles(styles.root, this.props.style);
6363

6464
return (
65-
<View {...this.props} style={rootStyle}>
65+
<Text {...this.props} style={rootStyle}>
6666
{this.props.children}
67-
</View>
67+
</Text>
6868
);
6969
},
7070
});

0 commit comments

Comments
 (0)