結果 : how to pass input value in onclick function react