olton / Metro4-React

Metro 4 for ReactJS. Build impressive responsive, mobile-first projects on the web with the first front-end component library in Metro Style and not only.
https://react.metroui.org.ua
MIT License
39 stars 9 forks source link

SyntaxError #24

Closed nagayev closed 4 years ago

nagayev commented 4 years ago

My Code: ` import {Button} from 'metro4-react';

olton commented 4 years ago

Hi Marat! Thank you for this report. Currently (up to version 1), metro4-react uses raw JSX code for components. You must enable compilation from node_modules/metro4-react in babel settings.

olton commented 4 years ago

https://blog.pimenov.com.ua/2020/05/08/using-metro4-react-with-cra/

nagayev commented 4 years ago

@olton Ok, thnx Mb it's time to close this issue?