Skip to content

About

Simple file uploader for React apps

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

SVAR React Uploader

npm License npm downloads

SVAR React Uploader is a lightweight, customizable React component for easy and intuitive file uploading, allowing users to drag and drop files or select them from their device. The component can be easily used with SVAR React Core library.

🛠️ How to Use

To use the uploader, simply import the package and include the component in to .jsx file:

	import { Uploader, UploaderList, useUploaderState } from "@svar-ui/react-uploader";
	import "@svar-ui/react-uploader/all.css";

    function MyComponent(){
	    const uploadURL = "http://localhost:3000/data";
        const data = useUploaderState();

        return (<Uploader {uploadURL} data={data} />);
    }

About

Simple file uploader for React apps

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages