uppy/packages/@uppy/react
github-actions[bot] ca0a7864c9
Release: uppy@4.6.0 (#5500)
| Package                   | Version | Package                   | Version |
| ------------------------- | ------- | ------------------------- | ------- |
| @uppy/aws-s3              |   4.1.1 | @uppy/provider-views      |   4.0.2 |
| @uppy/box                 |   3.1.1 | @uppy/react               |   4.0.3 |
| @uppy/companion           |   5.1.3 | @uppy/react-native        |   0.6.1 |
| @uppy/companion-client    |   4.1.1 | @uppy/redux-dev-tools     |   4.0.1 |
| @uppy/core                |   4.2.3 | @uppy/screen-capture      |   4.1.1 |
| @uppy/dashboard           |   4.1.2 | @uppy/status-bar          |   4.0.4 |
| @uppy/drag-drop           |   4.0.4 | @uppy/store-default       |   4.1.1 |
| @uppy/dropbox             |   4.1.1 | @uppy/store-redux         |   4.0.1 |
| @uppy/facebook            |   4.1.1 | @uppy/svelte              |   4.1.1 |
| @uppy/file-input          |   4.0.3 | @uppy/thumbnail-generator |   4.0.1 |
| @uppy/form                |   4.0.1 | @uppy/transloadit         |   4.1.3 |
| @uppy/golden-retriever    |   4.0.1 | @uppy/tus                 |   4.1.3 |
| @uppy/google-drive        |   4.1.1 | @uppy/unsplash            |   4.1.1 |
| @uppy/google-photos       |   0.3.1 | @uppy/url                 |   4.1.1 |
| @uppy/image-editor        |   3.2.0 | @uppy/utils               |   6.0.4 |
| @uppy/informer            |   4.1.1 | @uppy/vue                 |   2.0.2 |
| @uppy/instagram           |   4.1.1 | @uppy/webcam              |   4.0.2 |
| @uppy/locales             |   4.2.1 | @uppy/xhr-upload          |   4.2.2 |
| @uppy/onedrive            |   4.1.1 | @uppy/zoom                |   3.1.1 |
| @uppy/progress-bar        |   4.0.1 | uppy                      |   4.6.0 |

- @uppy/xhr-upload: fix stale file references in events (Merlijn Vos / #5499)
- @uppy/image-editor: upgrade cropperjs (Merlijn Vos / #5497)
- @uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/google-photos,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react-native,@uppy/react,@uppy/redux-dev-tools,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/store-redux,@uppy/svelte,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/utils,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: Fix links (Anthony Veaudry / #5492)
- docs,@uppy/companion: disallow corsOrigins "*" (Mikael Finstad / #5496)
2024-10-31 09:24:40 +00:00
..
src @uppy/react: fix use-sync-external-store import (#5426) 2024-08-23 10:32:03 +02:00
.npmignore @uppy/react: refactor to TS (#5012) 2024-03-27 11:03:34 +01:00
CHANGELOG.md Release: uppy@4.6.0 (#5500) 2024-10-31 09:24:40 +00:00
LICENSE Move React components to @uppy/react package. 2018-06-18 10:14:08 +02:00
package.json Release: uppy@4.6.0 (#5500) 2024-10-31 09:24:40 +00:00
README.md Fix links (#5492) 2024-10-29 13:54:00 +01:00
tsconfig.build.json @uppy/react: remove useUppy & reintroduce useUppyState (#5059) 2024-04-17 12:05:48 +02:00
tsconfig.json @uppy/react: remove useUppy & reintroduce useUppyState (#5059) 2024-04-17 12:05:48 +02:00

@uppy/react

Uppy logo: a smiling puppy above a pink upwards arrow

npm version CI status for Uppy tests CI status for Companion tests CI status for browser tests

React component wrappers around Uppys officially maintained UI plugins.

Uppy is being developed by the folks at Transloadit, a versatile file encoding service.

Example

/** @jsx React */
import React from 'react'
import Uppy from '@uppy/core'
import { DashboardModal } from '@uppy/react'

const uppy = new Uppy()

class Example extends React.Component {
  state = { open: false }

  render() {
    const { open } = this.state
    return (
      <DashboardModal
        uppy={uppy}
        open={open}
        onRequestClose={this.handleClose}
      />
    )
  }
  // ..snip..
}

Installation

$ npm install @uppy/react

Alternatively, you can also use this plugin in a pre-built bundle from Transloadits CDN: Smart CDN. In that case Uppy will attach itself to the global window.Uppy object. See the main Uppy documentation for instructions.

Documentation

Documentation for this plugin can be found on the Uppy website.

License

The MIT License.