rcaferati / react-awesome-button

React button component. Awesome button is a 3D UI, progress, social and share enabled, animated at 60fps, light weight, performant, production ready react UI button component. 🖥️ 📱
https://awesome-button.caferati.me
MIT License
1.3k stars 133 forks source link

Unexpected Token in react-awesome-button\src\components\AwesomeButton\index.js (20:24) #99

Closed Radon333 closed 3 years ago

Radon333 commented 3 years ago

Apart from the babel issue when I try the default primary button as given in the demo website I get,

./node_modules/react-awesome-button/src/components/AwesomeButton/index.js SyntaxError: C:\Users\Ranveer\Desktop\proramming\projects\react-obj-detect-tfjs\node_modules\react-awesome-button\src\components\AwesomeButton\index.js: Unexpected token (20:24)

18 | */ 19 |

20 | const Anchor = props => <a {...props} />; | ^ 21 | const Button = props => <button {...props} />; 22 | 23 | export default class AwesomeButton extends React.Component {