click to paint with react