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:
parent
005196f5e3
commit
90c252c055
@ -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>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user