But React provides event handlers to detect hover state for an element. ... <div onMouseOver={changeBackgroundColor}>Hover me!
確定! 回上一頁