# toodle-dropzone

> ## Table of Contents

Latest version **1.0.5** (published 2022-02-02) · 0 weekly downloads

## Install

```sh
npm install toodle-dropzone
pnpm add toodle-dropzone
yarn add toodle-dropzone
bun add toodle-dropzone
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2022-02-02 |
| First published | 2022-02-02 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 8 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Tanvir Islam Streame |
| Maintainers | tanvirstreame |
| Keywords | react, react-component, dropzone, file, drag, drop |

## Links

- npm: https://www.npmjs.com/package/toodle-dropzone
- Repository: https://github.com/tanvirstreame/toodle-dropzone
- Homepage: https://github.com/tanvirstreame/toodle-dropzone#readme
- Issues: https://github.com/tanvirstreame/toodle-dropzone/issues
- npm.io page: https://npm.io/package/toodle-dropzone

## Dependencies (8)

- [react](https://npm.io/package/react.md) ^17.0.2
- [react-dom](https://npm.io/package/react-dom.md) ^17.0.2
- [web-vitals](https://npm.io/package/web-vitals.md) ^2.1.4
- [react-scripts](https://npm.io/package/react-scripts.md) 5.0.0
- [@babel/polyfill](https://npm.io/package/@babel/polyfill.md) ^7.12.1
- [@testing-library/react](https://npm.io/package/@testing-library/react.md) ^12.1.2
- [@testing-library/jest-dom](https://npm.io/package/@testing-library/jest-dom.md) ^5.16.1
- [@testing-library/user-event](https://npm.io/package/@testing-library/user-event.md) ^13.5.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2022-02-02
- 1.0.4 — 2022-02-02
- 1.0.2 — 2022-02-02
- 1.0.1 — 2022-02-02
- 1.0.0 — 2022-02-02

## README

# Toodle Dropzone

## Table of Contents

* [Installation](#installation)
* [Example](#example)


## Installation

To install, you can use [npm](https://npmjs.org/) or [yarn](https://yarnpkg.com):

    $ npm install toodle-dropzone
    $ yarn add toodle-dropzone


## Example

Here is a simple example of toodle-dropzone 

```jsx
import DropZone from "toodle-dropzone";

const App = () => {
  const handleFileOnChange = (file) => {
    console.log(file);
    console.log(file.name);
  }
  return (
    <div className="App">
      <DropZone
        handleFileOnChange={handleFileOnChange}
        className="add-your-custom-css"
        accept="image/*" // Add any file type you need
      >
        Drag or Upload
      </DropZone >
    </div>
  );
}

export default App;

```

---
_Source: https://npm.io/package/toodle-dropzone · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
