SHARE
TWEET

Untitled

a guest Jun 18th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. customOnChangeHandler = (event) => {
  2.         const { target: { files } } = event;
  3.         const filesToStore = [];
  4.  
  5.         files.forEach(file => filesToStore.push(file));
  6.  
  7.         this.setState({ files: filesToStore });
  8.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top