converted event editor to react