1.0.43 • Published 6 months ago

uploadfile-library v1.0.43

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

uploadfile-library

This library enables drag-and-drop file upload along with displaying file details.

Installation

To install the uploadfile-library, you can use npm or yarn:

NPM

npm install uploadfile-library

Installation

npm i uploadfile-library

or

yarn add uploadfile-library

Usage

Import the FileUpload component into your React application: import React from "react"; import { FileUpload } from 'uploadfile-library';

FileUpload Component

The FileUpload component allows drag-and-drop file uploads, click and displays the uploaded file details.

Props styles: (Object) A style object that can be passed to customize the appearance of the component.

FileUpload Component Details

The FileUpload component accepts multiple functionalities:

Drag-and-drop file upload functionality. Displaying file name, size, extension, and last modified date. Removing a file from the uploaded files list.

Dependencies

The uploadfile-library relies on the following dependencies:

@babel/cli, @babel/core, @babel/preset-env, @babel/preset-react: Babel dependencies for transpiling. babel-loader: Webpack loader for Babel. css-loader, style-loader: Loaders for handling CSS files. react: React library.

1.0.43

6 months ago

1.0.42

6 months ago

1.0.41

6 months ago

1.0.40

6 months ago

1.0.37

7 months ago

1.0.36

7 months ago

1.0.35

7 months ago

1.0.34

7 months ago

1.0.32

7 months ago

1.0.31

7 months ago

1.0.30

7 months ago

1.0.29

7 months ago

1.0.28

7 months ago

1.0.25

7 months ago

1.0.24

7 months ago