All Projects → die-welle → tiny-qiniu-request

die-welle / tiny-qiniu-request

Licence: MIT license
tiny-qiniu for rc-upload or antd upload component `customRequest` property

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to tiny-qiniu-request

Antd Img Crop
🔪 An image cropper for Ant Design Upload
Stars: ✭ 207 (+1492.31%)
Mutual labels:  upload, antd, ant-design
google-music-manager-uploader
Google Music Manager Uploader module / Easily upload MP3 (folder) to Google Music
Stars: ✭ 21 (+61.54%)
Mutual labels:  upload, upload-file
react-native-tus-client
React Native client for the tus resumable upload protocol.
Stars: ✭ 38 (+192.31%)
Mutual labels:  upload, upload-file
rustypaste
A minimal file upload/pastebin service.
Stars: ✭ 102 (+684.62%)
Mutual labels:  upload, upload-file
Ant Design Aliyun Theme
⚙ Ant Design Theme for console.aliyun.com
Stars: ✭ 237 (+1723.08%)
Mutual labels:  antd, ant-design
miniprogram-network
Redefine the Network API of Wechat MiniProgram (小程序网络库)
Stars: ✭ 93 (+615.38%)
Mutual labels:  upload, request
AndroidFlask
Image Upload from Android to Python-Based Flask Server
Stars: ✭ 45 (+246.15%)
Mutual labels:  upload, upload-file
Ant Design Vue
🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
Stars: ✭ 15,749 (+121046.15%)
Mutual labels:  antd, ant-design
react-antd-formutil
Happy to use react-formutil in the project based on ant-design ^_^
Stars: ✭ 16 (+23.08%)
Mutual labels:  antd, ant-design
Sy flutter qiniu storage
七牛云对象存储SDK,上传大文件,进度监听,取消上传
Stars: ✭ 68 (+423.08%)
Mutual labels:  upload, qiniu
Antizer
ClojureScript library for Ant Design React UI components
Stars: ✭ 234 (+1700%)
Mutual labels:  antd, ant-design
antd-form-mate
📦 基于 ant design 的表单组件,配置化实现表单功能。
Stars: ✭ 14 (+7.69%)
Mutual labels:  antd, ant-design
React Ant
(基于pro 2.0)基于Ant Design Pro 的 (多标签页tabs、拖拽、富文本、拾色器、多功能table、多选Select)
Stars: ✭ 231 (+1676.92%)
Mutual labels:  antd, ant-design
picker
📅 All Date Pickers you need.
Stars: ✭ 185 (+1323.08%)
Mutual labels:  antd, ant-design
Virtual List
🧾 React Virtual List Component which worked with animation
Stars: ✭ 232 (+1684.62%)
Mutual labels:  antd, ant-design
RxUploader
Uploader for Android using RxJava
Stars: ✭ 72 (+453.85%)
Mutual labels:  upload, upload-file
Ant Plus
🔺 Ant Design 表单简化版
Stars: ✭ 212 (+1530.77%)
Mutual labels:  antd, ant-design
Laravel React Blog
基于 Laravel 5.5 和 React 的个人博客系统
Stars: ✭ 226 (+1638.46%)
Mutual labels:  antd, ant-design
Tiny Qiniu
A tiny qiniu sdk for uploading file.
Stars: ✭ 15 (+15.38%)
Mutual labels:  upload, qiniu
ant-design-icons
Ant Design + Material Design Icon =
Stars: ✭ 21 (+61.54%)
Mutual labels:  antd, ant-design

tiny-qiniu-request

tiny-qiniu for rc-upload or antd upload component customRequest property.

Installation

yarn add tiny-qiniu tiny-qiniu-request

Usage

tiny-qiniu-request should work together with rc-upload or antd upload component

import React, { Component } from 'react';
import { Upload } from 'antd';
import tinyQiniuRequest from 'tiny-qiniu-request';

const request = tinyQiniuRequest({
    name: 'my_bucket', // qiniu bucket name, requried
    domain: 'http://cdn.awesome.com', // qiniu bucket domain, requried
    uptokenUrl: 'http://localhost/api/uptoken',
});

export default class MyUpload extends {
    render() {
        <Upload
            customRequest={request}
            // {...other}
        />
    }
}
Signature

tinyQiniuRequest(option)

The option usage is the same with tiny-qiniu constructor option

Related Projects

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].