Skip to content

Css import and type issues in 0.30 beta #971

@czeidler

Description

@czeidler

Some things I noticed when trying the 0.30 beta:

  1. When building an app with vite the css import doesn't work:
import 'react-calendar-timeline/lib/Timeline.css'

it needs to be changed to:

import 'react-calendar-timeline/dist/style.css';
  1. The defaultTimeStart and defaultTimeEnd props are hardcoded to number which gives a type error when using Moment as a date type. (I tried to use unix timestamps but this broke the timeline, so there might be another bug)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions