StephenChou1017 / react-big-scheduler

A scheduler and resource planning component built for React and made for modern browsers (IE10+)
https://stephenchou1017.github.io/scheduler/#/
MIT License
759 stars 414 forks source link

Error when using in a typescript project #190

Open IleanaAldama opened 4 years ago

IleanaAldama commented 4 years ago

Hello, I'm seeing this error when trying to use the 'Scheduler' on a typescript project

JSX element type 'Scheduler' does not have any construct or call signatures.  TS2604

  > 10 |     return <Scheduler schedulerData={schedulerData} />;
       |             ^
    11 |   }
    12 | }
    13 | 
SirPhemmiey commented 4 years ago

Hey @ChrisAldama , did you have any luck in fixing this issue?

SBajonczak commented 4 years ago

Hi, I have the same issue here. I Already added the typings for the scheduler but it dies not work for now.

Yaowenjie commented 4 years ago

@ChrisAldama @SBajonczak We did a TS version scheduler based on this lib. Please feel free to have a try on it: https://github.com/NGC-AB/react-scheduler-calendar . We did some refactor, and it has better support for TS, but it's still in progress.

dbrxnds commented 4 years ago

Hi @Yaowenjie, the link to that repository is no longer available, do you still have a link that I can take a look at?

DatPriest commented 3 years ago

@Yaowenjie It's a private repository I think.

Yaowenjie commented 3 years ago

@DatPriest @iDavidB Yes, for some reason, it becomes private from some moment.

saiyamjain143 commented 3 years ago

@Yaowenjie Can you make this repo to public? https://github.com/NGC-AB/react-scheduler-calendar