uppy/packages/@uppy/react
Mikael Finstad 8f97fd61fa
cleanup tsconfig (#5520)
- move skipLibCheck to tsconfig.shared
- remove noImplicitAny

was added in https://github.com/transloadit/uppy/pull/4844
but without an explanation
2024-11-18 20:41:59 +08: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
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 cleanup tsconfig (#5520) 2024-11-18 20:41:59 +08: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.