react-progressed
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

react-progressed

React hooks and components for file uploading

NPM JavaScript Style Guide

Install

npm install --save react-progressed

Usage

import * as React from 'react'
import Progressed from 'react-progressed'

const App = () => {
  const onChange = (e) => {
    console.log(e.target.files)
  }

  const onSubmit = (fileList) => {
    console.log(fileList)
  }

  return (
    <Progressed onSubmit={onSubmit} onChange={onChange}  />
  )
}

License

MIT © pfftdammitchris

Readme

Keywords

none

Package Sidebar

Install

npm i react-progressed

Weekly Downloads

3

Version

2.0.3

License

MIT

Unpacked Size

36.8 kB

Total Files

11

Last publish

Collaborators

  • projectbreeze