Git Product home page Git Product logo

Comments (5)

prabhuignoto avatar prabhuignoto commented on June 1, 2024 2

@ikhana looks like there was some issue with the npm publish operation. the correction version of the lib should be 2.6.0. Give it a try again by installing the latest version and let me know how it goes

from react-chrono.

ikhana avatar ikhana commented on June 1, 2024 1

@prabhuignoto thank you for mentioning the correct version, worked.

from react-chrono.

FerxhNova avatar FerxhNova commented on June 1, 2024

Same issue here

from react-chrono.

prabhuignoto avatar prabhuignoto commented on June 1, 2024

new prop disableToolbar added to hide the toolbar. hideControls deprecated

from react-chrono.

ikhana avatar ikhana commented on June 1, 2024

that one is also not working, I don't know if the improvement has been broken

here is my code though

const TimeLine = () => {
  return (
    <section id="roadmap">
    <Chrono
      items={items}
      mode="VERTICAL_ALTERNATING"
      disableToolbar
      theme={{
        primary: "darkblue", // Primary color for the timeline
        secondary: "gray", // Secondary color for the timeline
        cardBgColor: "rgba(200, 216, 230, 0.2)",
        cardForeColor: "white", // Font color for the cards
        titleColor: "white", // Color of the titles on the timeline cards
        titleColorActive: "orange", // Color of the active card title
        cardSubtitleColor: "grey", // Color for subtitles on the cards
        cardTitleColor: "orange", // Color for card titles
        cardDetailsColor: "lightblue", // Details inside card
        cardOutline: "darkblue", // Outline color for the cards
        timelineStrokeColor: "orange", // Line color of the timeline
        markerBorderColor: "orange", // Border color for the markers
        markerFillColor: "darkblue", // Fill color for the markers
        toolbarBgColor	: "transparent",
        toolbarTextColor: "transparent",
        toolbarBtnBgColor: "transparent",
        iconBackgroundColor: "transparent",
      }}

    
    />
      </section>
  );
};

export default TimeLine;

from react-chrono.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.