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 ef63066 commit 6451ea7Copy full SHA for 6451ea7
src/buttons/flat-button-label.jsx
@@ -5,7 +5,7 @@ import DefaultRawTheme from '../styles/raw-themes/light-raw-theme';
5
import ThemeManager from '../styles/theme-manager';
6
7
const {
8
- View,
+ Text,
9
} = React;
10
11
const FlatButtonLabel = React.createClass({
@@ -70,7 +70,7 @@ const FlatButtonLabel = React.createClass({
70
}, style);
71
72
return (
73
- <View style={this.prepareStyles(mergedRootStyles)}>{label}</View>
+ <Text style={this.prepareStyles(mergedRootStyles)}>{label}</Text>
74
);
75
},
76
0 commit comments