Кнопка Кнопки отреагирует

<button onClose{(()=>}>x</button>
Sunny Kumar