Closed jukben closed 6 years ago
Now you can easily get Ref of underlying textarea.
The other approach is to access to this.rtaRef.textareaRef but innerRef={(ref) => {this.textareaRef = ref}} is now preffered.
this.rtaRef.textareaRef
innerRef={(ref) => {this.textareaRef = ref}}
Now you can easily get Ref of underlying textarea.
The other approach is to access to
this.rtaRef.textareaRef
butinnerRef={(ref) => {this.textareaRef = ref}}
is now preffered.