{"_attachments":{},"_id":"react-fast-upload","_rev":"720756-61c4a35493f77432ad3fc75d","author":{"name":"grifree"},"description":"React Upload","dist-tags":{"latest":"0.0.12"},"maintainers":[{"name":"nimojs","email":"nimo.jser@gmail.com"},{"name":"grifree","email":"1149290648@qq.com"}],"name":"react-fast-upload","readme":"# react-fast-upload\n\n> React Upload\n\n[🔗 Live demo](https://fast-flow.github.io/react-fast-upload/) \n[🕐 Releases](https://github.com/fast-flow/react-fast-upload/releases)\n\n[![Build Status](https://api.travis-ci.org/fast-flow/react-fast-upload.svg)](https://travis-ci.org/fast-flow/react-fast-upload) [![NPM version](https://img.shields.io/npm/v/https://fast-flow.github.io/react-fast-upload/.svg?style=flat)](https://npmjs.org/package/https://fast-flow.github.io/react-fast-upload/) [![NPM downloads](http://img.shields.io/npm/dm/https://fast-flow.github.io/react-fast-upload/.svg?style=flat)](https://npmjs.org/package/https://fast-flow.github.io/react-fast-upload/)\n\n🌀 [Example](./example/) 🌀 [Doc](./doc/) 🌀 [Test](./test/) \n\n## 📦 Install\n\n```shell\nnpm i react-fast-upload --save\n```\n\n## API\n\n\n|\tname\t|\ttype\t|\tdefault\t|\tdescription\t|\n|------|------|------|------|\n|\taction\t|\tString\t|\t\t|\tfrom action url\t|\n|\tname\t|\tString\t|\t\t|\tfile name\t|\n|\ttype\t|\tString\t|\tfile\t|\tfile type\t|\t\n|\tdata\t|\tobject\t|\t\t|\tother data object to post\t|\n|\theaders\t|\tobject\t|\t\t|\thttp headers to post, available in modern browsers\t|\n|\t~~multiple~~\t|\t~~Boolean~~\t|\t~~false~~\t|\t~~多文件, available in modern browsers~~\t|\n|\tclsp\t|\tString\t|\trf\t|\t更改原有样式classname前缀\t|\n|\twrapClassName\t|\tString\t|\t\t|\t自定义样式\t|\n|\tonStart\t|\tfunction\t|\t\t|\tstart callback\t|\n|\tonSuccess\t|\tfunction\t|\t\t|\tsuccess callback\t|\n|\tonProgress\t|\tfunction\t|\t\t|\tprogress callback\t|\n|\tonError\t|\tfunction\t|\t\t|\terror callback\t|\n\n\n\n## 📄 Usage\n\n
\n\n````js\nvar React = require('react')\nvar ReactDOM = require('react-dom')\nvar Some = require('react-fast-upload')\nReactDOM.render(