Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-file-utils

getstream146kBSD-3-Clause1.2.0TypeScript support: included

React components for managing files and images

readme

react-file-utils

React components that can be used to upload files and images

NPM Build Status

Install

# with npm
npm install --save react-file-utils
# with yarn
yarn add react-file-utils

Usage

Look at the component reference docs

License

BSD-3-Clause © Stream.io Inc.

We are hiring!

We've recently closed a $38 million Series B funding round and we keep actively growing. Our APIs are used by more than a billion end-users, and you'll have a chance to make a huge impact on the product within a team of the strongest engineers all over the world.

Check out our current openings and apply via Stream's website.

changelog

Changelog

1.1.4 2021-08-26

Chore

  • Change image import syntax to require #40
  • Upgrade react-dropzone dependency #40

1.1.3 2021-07-09

Bug

  • Fix CSS build issue for NextJS apps #38

1.1.1 2021-07-01

Chore

  • Preserve modules for tree shaking optimization #34
  • Add support for React 17 #35

1.1.0 2021-05-20

Chore

  • Replace Fort Awesome libraries with SVG components #29
  • Add size-limit bundle analyzer #30
  • Replace react-file-icon with simple SVG components #31
  • Remove unnecessary blueimp-load-image dependency #32

1.0.4 2021-05-10

  • Support thumbnail previews for HEIC type images #28

1.0.3 2021-04-05

  • Add resetOnChange prop and custom handler for file/image upload buttons #27

1.0.2 2021-03-17

  • Fix TSConfig so jsx-runtime is not required #26

1.0.1 2021-03-17

  • Sync up types with stream-chat-react library #25

1.0.0 2021-03-17

  • The entire library has been rewritten in TypeScript #24
  • The entire library has been converted to functional components #24

0.4.0 2020-10-15

  • Updated react-dropzone to 11.2.0. Copying images from other websites is no longer supported.

0.3.17 2020-09-25

  • Add blur on submit to FileUploadButton

0.3.16 2020-09-09

  • Fallback for thumbnails

0.3.15 2020-07-21

  • Bumped to latest version of blueimp-load-image