結果 : clear input using ref react