Jak opróżnić pole wejściowe w React
event.target.value = ''
//grab the target input and set it empty. you can use it in the onclick
event.target.value = ''
//grab the target input and set it empty. you can use it in the onclick