dd free asked 6 years ago

Hello everyone I am trying to some third-party component which uses bootstrap. I am using mdb pro react. when I include the component the style of mdb react pro takes over, is there any easy way to keep the original style of the component and let mdb react takes over the rest of the app? Please help, thank you in advance :))) Best Regards, siag.

Jakub Strebeyko staff answered 6 years ago

Hi there,

How does the component define it's styles - is it simply referring to Bootstrap classes? There are few solutions that I can think of from top of my head, but only one of those does not not involve breaking stuff. Considering the hard hussle of Facebook developers it's worth to follow the standard, namely create a JS object full of the Bootstrap styles the component requires and then applying them to it, as they take precedence.

With Best Regards,

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No