cara mengosongkan bidang input di reaksi

event.target.value = ''
//grab the target input and set it empty. you can use it in the onclick