Closed bicochan closed 3 months ago
const Component = () => { const [ref, isHovered] = useHover(); return ( <div ref={ref} style={{ background: isHovered ? '#f00' : '#fff' }}> {isHovered ? 'Hovered!' : 'Not Hovered'} </div> ); };
๐พ Pull Request
1๏ธโฃ Spec
2๏ธโฃ ๋ณ๊ฒฝ ์ฌํญ
3๏ธโฃ ์์ ์ฝ๋