Skip to content

Commit

Permalink
Merge pull request #9 from vypah/master
Browse files Browse the repository at this point in the history
Fix react15 warning concerning unknown props
  • Loading branch information
malte-wessel authored Mar 23, 2017
2 parents 7eb7ee2 + 2bd2a0e commit 2d53f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Textfit.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default createClass({
},

render() {
const { children, text, style, min, max, mode, ...props } = this.props;
const { children, text, style, min, max, mode, forceWidth, forceSingleModeWidth, perfectFit, throttle, autoResize, onReady, ...props } = this.props;
const { fontSize, ready } = this.state;
const finalStyle = {
...style,
Expand Down

0 comments on commit 2d53f35

Please sign in to comment.