Working with react 12; NOTE: I might have broken the API a bit, props aren't properly passed to the handler