Guest User

Untitled

a guest
Apr 27th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. const WrappedInput = (props) => <input ref={props.ref} />;
  2.  
  3. // We get a ref to the wrapper, not to the input :(
  4. <WrappedInput ref={input => /* .. */} >
Add Comment
Please, Sign In to add comment