react-special-cursor icon indicating copy to clipboard operation
react-special-cursor copied to clipboard

problem using css Module with sass in next.js - can't use hoverClasses with className={styles.error}.

Open devmrobot opened this issue 3 years ago • 1 comments

The problem now is from using css Module with sass in next.js, so I can't use hoverClasses with className={styles.error}. https://nextjs.org/docs/basic-features/built-in-css-support

 <Cursor
      hoverClasses={[
        { classNameOfTargetElement: "head", classNameOfStyle: "head-hover" },
...

Originally posted by @devmrobot in https://github.com/amirho1/react-special-cursor/issues/2#issuecomment-1214406912

devmrobot avatar Aug 17 '22 09:08 devmrobot

please provide more info like the whole file

amirho1 avatar Oct 24 '22 20:10 amirho1