segmentio / evergreen

🌲 Evergreen React UI Framework by Segment
https://evergreen.segment.com
MIT License
12.39k stars 832 forks source link

Remove actual File class reference from FileUploader src file #1424

Closed brandongregoryscott closed 2 years ago

brandongregoryscott commented 2 years ago

Fixes #1423

Overview

Removes the File reference from FileUploader.propTypes.

Screenshots (if applicable) N/A, but I tested out the package in our app using yalc and it compiles fine!

The FileUploader compiled src looks like this now:

  /**
   * File values to render underneath the uploader
   * @type {File}
   */
  values: _propTypes["default"].array

Documentation

netlify[bot] commented 2 years ago

✔️ Deploy Preview for evergreen-storybook ready!

🔨 Explore the source changes: 4d2a5a120f7abfdb9923fb5e0b643f074bc227fc

🔍 Inspect the deploy log: https://app.netlify.com/sites/evergreen-storybook/deploys/62275ff175bc2a00076fac44

😎 Browse the preview: https://deploy-preview-1424--evergreen-storybook.netlify.app