filestack / filestack-react

Official React component for Filestack - API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
https://www.filestack.com
MIT License
166 stars 41 forks source link

Add custom render support #13

Closed CaryLandholt closed 7 years ago

CaryLandholt commented 7 years ago
<ReactFilestack
  apikey={apikey}
  options={basicOptions}
  onSuccess={onSuccess}
  onError={onError}
  render={({ onPick }) => (
    <div>
      <strong>Find an avatar</strong>
      <button onClick={onPick}>Pick</button>
    </div>
  )}
/>
CaryLandholt commented 7 years ago

should be good now

CaryLandholt commented 7 years ago

Should be good to merge