bsr-sau
v2.1.5
Published
Simple avatar uploader
Downloads
19
Maintainers
Readme
bsr-sau
React: Simple Avatar Uploader
Install
npm install --save bsr-sau
Usage
import React, { Component } from 'react'
import AvatarUploader from 'bsr-sau'
import 'bsr-sau/dist/index.css'
<AvatarUploader
canvasSize=200
url='/ContentApi/AvatarUpload'
done={(data)=>{
alert( "done: server response: "+data)
}}/>
License
MIT © ionson100