New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-uploods

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-uploods

uploods React component

  • 0.3.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

uploods

Travis npm package Coveralls

Describe uploods here.

PropertyTypeRequiredDefault
onChangeFunc-
containerStyleObject-
inputStyleObject-
hideListBoolfalse
acceptArray['*']
maxSizeInt10 000 kb
elevationInt0
textString'Drag some files here or click to select files'
dragActiveTextString'Drop here!'
unsupportedTextString'Unsupported File...'

onChange

A function to be called everytime a file is included (or removed from list) ex: files => console.log('Uploaded files: ',files)

containerStyle

An object containing the style to be applied to component's container, an MUI's Paper.

inputStyle

An object containing the style to be applied to the input

hideList

If true, will hide the files list

accept

An array containg MIME file types accepted. Supports wildcards like image/*

maxSize = 10000

Maximum size accepted for each file, measured in KB.

elevation = 0

Elevation prop passed to the container, an MUI's Paper

text

Text shown in the input while waiting for files.

dragActiveText

Text shown when user is dragging files over the component.

unsupportedText = 'Unsupported File...'

Text shown when a file is rejected (either by file type or size).

Keywords

FAQs

Package last updated on 14 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc