SirWojtek/react-material-timeline

How can I change the colors?

Opened this issue · 1 comments

I'm having difficulties to change the color of the timeline, the classes that is created with the library is not consistents enough to use them, and aparenttly there is no option to set color directly in the component.

Hey @lucaswx2, thank you for raising the first issue 🎉
Can you precise which part of the timeline you want to customise?

I think you should be able to modify the middle icons by customising Avatar, for example:

const icon =
  <Avatar color="primary">
    <Icon>work</Icon>
  </Avatar>;