react-fall-ball

A small drop of parabola with reactjs.

use

In the parent component need to get the starting point coordinates and end point coordinates, and the need to define a state, (balls) to store the ball. When the ball fell to the end, complete receive id as a parameter, according to id to delete the ball

GitHub