adding className=myclass inside MDBTimelineStep tag, does no


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

MaximeGheraille asked 5 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


Jakub Chmura staff premium answered 5 years ago

Hi @MaximeGheraille,

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

Best, Kuba


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.


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