0.0.13 • Published 3 years ago

@aiwizo/react-file-dropzone v0.0.13

Weekly downloads
18
License
Apache-2.0
Repository
github
Last release
3 years ago

@aiwizo/react-file-dropzone

NOTE! v0.0.x - alpha. Not production ready. Still needs testing and improvements.

File dropzone component for React.

Installation

npm install @aiwizo/react-file-dropzone @aiwizo/application-styles styled-components

Basic Usage

// Importing
import "@aiwizo/application-styles";
import { FileDropzone } from "@aiwizo/react-file-dropzone";

<FileUpload
  onChange={({ event, files }) => {
    /* Do something */
  }}
/>;

Custom styling

Its possible to override the following default styles

<FileUpload
  styles={
    backgroundColorDragging,
    backgroundColor,
    border,
    borderTopLeftRadius,
    borderTopRightRadius,
    borderBottomRightRadius,
    borderBottomLeftRadius,
    color,
    colorDragging,
    fontFamily,
    fontSize,
    fontWeight,
    padding,
  }
/>;

Make sure that the peer dependencies in package.json are installed in your application.

Contribution

Please let us know if you have any issues. Put an issue here on github and we'll do our best to solve it.

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago