Topic: adding className="myclass" inside MDBTimelineStep tag, does not work

MaximeGheraille free asked 4 years ago


Expected behavior

MDBTimelineStep icon="clock" className="myClass"

it should add the classname to the element

Actual behavior

This does add the class to the element


Piotr Glejzer staff answered 4 years ago


Hello,

We added props where you can add your custom class.

stepContentClassName - you can add custom class to content
circleClassName - you can add a custom class to the circle span element
className - you can add a custom class to the main element at this component

It will be available the next Monday.

Have a nice day.


Jakub Chmura staff answered 4 years ago


Hi @MaximeGheraille,

Thank you for the founded bug. We try to fix it as soon as possible.

Best, Kuba



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.25.6
  • Device: PC
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No