./node_modules/react-radial-menu/src/js/components/radial-menu.react.js
Module parse failed: Unexpected token (79:15)
You may need an appropriate loader to handle this file type.
| left = (50 - distance * Math.cos(-0.5 * Math.PI - (2Math.PIi)/length)).toFixed(8) + "%;"
| top= (50 + distance * Math.sin(-0.5 * Math.PI - (2Math.PIi)/length)).toFixed(8) + "%;";
| result.push(<RadialItem key={i} radius = {radius} href = {item.href}
| className="children" left={left} top={top} image={item.image}>{item.text});
|
Trying to avoid ejecting scripts, because I'm not sure what the other repercussions might be with everything being so hidden in create-react-app.
Any suggestions as to how I could fix this?
./node_modules/react-radial-menu/src/js/components/radial-menu.react.js
Module parse failed: Unexpected token (79:15)
You may need an appropriate loader to handle this file type.
| left = (50 - distance * Math.cos(-0.5 * Math.PI - (2Math.PIi)/length)).toFixed(8) + "%;"
| top= (50 + distance * Math.sin(-0.5 * Math.PI - (2Math.PIi)/length)).toFixed(8) + "%;";
| result.push(<RadialItem key={i} radius = {radius} href = {item.href}
| className="children" left={left} top={top} image={item.image}>{item.text});
|
Trying to avoid ejecting scripts, because I'm not sure what the other repercussions might be with everything being so hidden in create-react-app.
Any suggestions as to how I could fix this?