SolidJSS
SolidJSโ€ข3y agoโ€ข
3 replies
Bersaelor

Pass prop into style={{}} on hover

I need to send a hex-color into the styles that depends on my data, specifically
  '&:hover': {
    color: props.color  
  }

unfortunately when I use plain style the on-hover isn't working, when I use suid's styled I can't pass the prop
Was this page helpful?