Hi Guys I am facing this issue, and I have tried multiple versions of node but still not working. I am using the react demo4 metronic 8.
Attaching error message:
Type '{}' is not assignable to type 'ReactNode'. TS2786
11 | return (
12 | <span className={`svg-icon ${className}`}>
> 13 | <SVG src={toAbsoluteUrl(path)} className={svgClassName} />
| ^
14 | </span>
15 | )
16 | }
Hi Guys I am facing this issue, and I have tried multiple versions of node but still not working. I am using the react demo4 metronic 8.
Attaching error message:
Type '{}' is not assignable to type 'ReactNode'. TS2786
11 | return (
12 | <span className={`svg-icon ${className}`}>
> 13 | <SVG src={toAbsoluteUrl(path)} className={svgClassName} />
| ^
14 | </span>
15 | )
16 | }
Hi,
I've just checked the demo4, and if you set up the app following this doc https://preview.keenthemes.com/metronic8/react/docs/docs/quick-start, it should work fine without any errors. Pls, check the link above, it should help you.
Regards,
Keenthemes support