Topic: MDB react flipping card

Jokubas free asked 5 years ago


Hi there,

One simple question is by any chance MDB react flipping card is pro component? Because just installed free MDB react to check it out and imported all the components as in example and copied code to my App.js but I'm getting this error:

   ./src/App.js
Attempted import error: 'MDBAvatar' is not exported from 'mdbreact'.

And web is not showing that flipping cards are PRO components, any hints on this? package.json content:

   {
      "name": "mdb-frontend",
      "version": "0.1.0",
      "private": true,
      "dependencies": {
        "mdbreact": "^4.10.0",
        "react": "^16.8.1",
        "react-dom": "^16.8.1",
        "react-scripts": "2.1.5"
      },
      "scripts": {
        "start": "react-scripts start",
        "build": "react-scripts build",
        "test": "react-scripts test",
        "eject": "react-scripts eject"
      },
      "eslintConfig": {
        "extends": "react-app"
      },
      "browserslist": [
        ">0.2%",
        "not dead",
        "not ie <= 11",
        "not op_mini all"
      ]
    }

index.js content:

import "@fortawesome/fontawesome-free/css/all.min.css";
import "bootstrap-css-only/css/bootstrap.min.css";
import "mdbreact/dist/css/mdb.css";
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
import * as serviceWorker from "./serviceWorker";

ReactDOM.render(<App />, document.getElementById("root"));

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: http://bit.ly/CRA-PWA
serviceWorker.unregister();

Thank you!


Anna Morawska staff answered 5 years ago


Hello,

Sorry for the inconvenience - indeed, flipping cards are a pro components - this was our oversight, I've already added a pro mark to the documentation. Thank you for reporting this.

Best

Ania



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.1.0
  • Device: Laptop
  • Browser: Chrome Version 71.0.3578.98 (Off
  • OS: Win 10
  • Provided sample code: No
  • Provided link: No