ButtonFixed is not importable


Topic: ButtonFixed is not importable
Hello, I am trying to add a "Back To Top" button, but I can't seem to import the component. Following the documentation, because the button is to be used like this
<ButtonFixed topSection="#top-section" floating size="lg" color="red" icon="arrow-up" style={{bottom: '45px', right: '24px'}}></ButtonFixed>
I assumed, for lack of another indication, that the component should be imported like this
import ButtonFixed from 'mdbreact'
But that does not seem to work.
Can anyone help me?

Anna Morawska staff answered 6 years ago

Hi there, try this:
import {ButtonFixed } from "mdbreact";
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
  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.7.1
  • Device: DeskTop
  • Browser: Chrome
  • OS: Ubuntu 18.04
  • Provided sample code: Yes
  • Provided link: No