pass through all props to textarea

This commit is contained in:
Matthias Kretschmann 2019-05-10 12:30:31 +02:00
parent 005196f5e3
commit 90c252c055
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 2 additions and 3 deletions

View File

@ -79,8 +79,7 @@ export default class Input extends PureComponent<InputProps, InputState> {
name,
required,
onChange,
value,
rows
value
} = this.props
const wrapClass = this.inputWrapClasses()
@ -119,7 +118,7 @@ export default class Input extends PureComponent<InputProps, InputState> {
className={styles.input}
onFocus={this.toggleFocus}
onBlur={this.toggleFocus}
rows={rows}
{...this.props}
/>
</div>
)