Here's a slightly more interesting example. It demonstrates how a single drop target accepts multiple types, and how those types are derived from props. It also demonstrates the handling of native files and URLs (try putting them in the last two trash bins).


This dustbin accepts: glass
This dustbin accepts: food
This dustbin accepts: paper, glass, __NATIVE_URL__
This dustbin accepts: paper, __NATIVE_FILE__
Bottle
Banana
Magazine