mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 18:35:54 +00:00
| Package | Version | Package | Version | | -------------------- | ------- | -------------------- | ------- | | @uppy/companion | 5.8.0 | @uppy/screen-capture | 4.3.0 | | @uppy/components | 0.1.0 | @uppy/svelte | 4.4.0 | | @uppy/core | 4.4.6 | @uppy/utils | 6.1.5 | | @uppy/locales | 4.5.3 | @uppy/vue | 2.2.0 | | @uppy/provider-views | 4.4.4 | @uppy/webcam | 4.2.0 | | @uppy/react | 4.3.0 | uppy | 4.17.0 | - @uppy/provider-views: fix: handle pagination for Google Photos picker (fixes #5765) (ben rosenbaum / #5768) - @uppy/companion: add max filename length env var (Freeman / #5763) - @uppy/core: fix missing required meta field error not updating (Prakash / #5766) - @uppy/screen-capture: add screenshot button (Prakash / #5737) - @uppy/locales: Update cs_CZ.ts (Martin Štorek / #5749) - examples: Headless components (Merlijn Vos / #5727) - @uppy/companion: fix cookie maxAge to milliseconds (zolotarov@brights.io / #5746) - meta: document how to fix a broken release (Mikael Finstad / #5755) - @uppy/companion: improve Zoom folder structure (Merlijn Vos / #5739) |
||
|---|---|---|
| .. | ||
| src | ||
| .npmignore | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
@uppy/react
React component wrappers around Uppy’s 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
Transloadit’s 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.