Skip to content

Commit

Permalink
Fix text style for fulltext
Browse files Browse the repository at this point in the history
  • Loading branch information
Lam Tuan committed Jul 13, 2018
1 parent 3c98671 commit 008ed6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class ViewMoreText extends React.Component {
if (this.state.isFulltextShown) {
return (
<View onLayout={this.onLayoutFullText} style={styles.fullTextWrapper}>
<Text>{this.props.children}</Text>
<Text style={this.props.textStyle}>{this.props.children}</Text>
</View>
);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-view-more-text",
"version": "2.0.0",
"version": "2.0.1",
"description": "Expand/Collapse long text.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 008ed6f

Please sign in to comment.