Skip to content

Commit 6451ea7

Browse files
committed
fix flat-button-label
1 parent ef63066 commit 6451ea7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/buttons/flat-button-label.jsx

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

77
const {
8-
View,
8+
Text,
99
} = React;
1010

1111
const FlatButtonLabel = React.createClass({
@@ -70,7 +70,7 @@ const FlatButtonLabel = React.createClass({
7070
}, style);
7171

7272
return (
73-
<View style={this.prepareStyles(mergedRootStyles)}>{label}</View>
73+
<Text style={this.prepareStyles(mergedRootStyles)}>{label}</Text>
7474
);
7575
},
7676

0 commit comments

Comments
 (0)