stephane-monnot / react-vertical-timeline

Vertical timeline for React.js

Home Page:https://stephane-monnot.github.io/react-vertical-timeline/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Receiving warning: extra attributes from the server: style when using component

KingJulius opened this issue · comments

While using a VerticalTimeline component for a Next v13.5.6 project using App Router with TypeScript, this is the warning message that I am getting when running my project on Chrome even in incognito mode as I was under the assumption that it may have been due to a 3rd party Chrome plugin but it is leading to the same warning:

image

Any tips on resolving this issue?

Hi

Vertical-timeline add automatically style="--line-color:#FFF:" to the html
set lineColor='' in VerticalTimeline
and in globals.css set your own color:
html{
--line-color: #e2e8f0;
}