# `` Catches file and text drop and paste events. ## Usage ```jsx import {DropArea} from 'libreact/lib/DropArea'; console.log(files)} onUri={(uri, event) => console.log(uri)} onText={(text, event) => console.log(text)} >
Drop it like a bomb!
``` ## Props - `onFiles` — called when files are dropped or pasted into the area. - `onUri` — called an URI from another tab is dropped in the area. - `onText` — called when text is paste in the area.