Skip to content

Commit 6290c69

Browse files
committed
replace deprecated numberOfLines with rows TextInput
1 parent 033d72b commit 6290c69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Composer/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ class Composer extends React.Component {
455455
/* eslint-disable-next-line react/jsx-props-no-spreading */
456456
{...propsWithoutStyles}
457457
onSelectionChange={this.addCursorPositionToSelectionChange}
458-
numberOfLines={this.state.numberOfLines}
458+
rows={this.state.numberOfLines}
459459
disabled={this.props.isDisabled}
460460
onKeyPress={this.handleKeyPress}
461461
/>

0 commit comments

Comments
 (0)