Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Commit

Permalink
- Avoid Wrapping button text. (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
petersuwara authored and silentcloud committed Jun 26, 2017
1 parent 906fb6d commit 6e7ee3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NativeButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const NativeButton = React.createClass({
}

return (
<Text style={ [ styles.textButton, this.props.textStyle ] }>
<Text numberOfLines={1} ellipsizeMode="clip" style={ [ styles.textButton, this.props.textStyle ] }>
{ this.props.children }
</Text>
);
Expand Down

0 comments on commit 6e7ee3a

Please sign in to comment.