hello i created a timeline component and another file inside assets name _timeline.scss but when i run the code timeline component not showing any styles, so what i have to do.
Hi,
Sorry for the late reply.
The _timeline.scss is imported globally and you should be able to use timeline styles on any page.
Please make sure that you are using timeline classes correctly, you can find a markup example in demo1/src/_metronic/partials/layout/activity-drawer/ActivityDrawer.tsx
Regards,
Lauris Stepanovs,
Keenthemes Support Team
can you explain little bit more, i am not understand, is there i have to import _timeline.scss file, and which place i have to create _timeline.scss, and is i have to import _timeline.scss files inside my component.
Hi,
You do not need to import the timeline style file separately, it is already imported in assets/sass/core/components/components.scss which is imported in assets/sass/style.scss.
To use timeline styles you can just import the main style.scss globally as shown below:
import "./_metronic/assets/sass/style.scss"