react-contenteditable
react-contenteditable copied to clipboard
Allow to manually reference HTML element
This basically allows for referencing DOM node when passing a react component instead of a string as tagName. In passed component:
render() {
return (
<div>
<span {...this.props} ref={refEl} />
</div>
);
}
I'm not sure I understand the usecase for this...