react-contenteditable icon indicating copy to clipboard operation
react-contenteditable copied to clipboard

Allow to manually reference HTML element

Open MichalZalecki opened this issue 8 years ago • 1 comments

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

MichalZalecki avatar Apr 17 '17 22:04 MichalZalecki

I'm not sure I understand the usecase for this...

lovasoa avatar Aug 05 '18 08:08 lovasoa