Possible to have the same onchange event for HTMLSelectElement and HTMLInputElement?

前端 未结 0 690
逝去的感伤
逝去的感伤 2020-12-16 21:03

Bascially Im trying to have this:

  const handleChange = useCallback(
    (event: React.ChangeEvent | React.ChangeEvent

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题