1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

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

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>
)