Closed hungnguyen1995 closed 4 years ago
Hi @hungnguyen1995, You can do it as you would do it in normal component :)
<MainButton
iconResting={<MdAdd style={{ fontSize: 20 }} nativeColor="white" />}
iconActive={<MdClose style={{ fontSize: 20 }} nativeColor="white" />}
background="linear-gradient(45deg, #FE6B8B 30%, #FF8E53 90%)"
onMouseOver={() => {
console.log('Mouse Over')
}}
/>
sr! it my bug ^^
how to detect event hover in button