You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in component import Button from "material-kit-react/src/components/CustomButtons/Button";
in component.render <Button type="button" color="primary">Primary</Button>
error is..
Failed to compile.
./node_modules/material-kit-react/src/components/CustomButtons/Button.jsx
Module parse failed: Unexpected token (15:25)
You may need an appropriate loader to handle this file type.
| import buttonStyle from "assets/jss/material-kit-react/components/buttonStyle.jsx";
|
| function RegularButton({ ...props }) {
| const {
| classes,
whats wrong with here?
The text was updated successfully, but these errors were encountered:
Thank you for your interest in using our product and for giving us this warning.
It seems that our product needs some changes so it can be used as a npmjs package.
While we are working on that (i am guessing it will take us somewhere around a month, since we are currently working on some other products, and i am going to take a 2 week vacation) you can just download/clone the product and use it as is.
Thank you for your interest in using our product.
You can take a look here: https://github.com/creativetimofficial/material-kit-react/pulls to see what the fix could be.
As of moment we cannot accept those pull requests since we need to have same versions on creative-tim.com, github and npmjs.
On our next update we are going to accept those pr and it should work just fine with npmjs as well.
in package.json
in component
import Button from "material-kit-react/src/components/CustomButtons/Button";
in component.render
<Button type="button" color="primary">Primary</Button>
error is..
whats wrong with here?
The text was updated successfully, but these errors were encountered: