Add onChange handler using prop as callback