<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@datashaper/react](./react.md) &gt; [DropzoneProps](./react.dropzoneprops.md) &gt; [onDropRejected](./react.dropzoneprops.ondroprejected.md)

## DropzoneProps.onDropRejected property

<b>Signature:</b>

```typescript
onDropRejected?: (message: string, files?: FileRejection[]) => void;
```
