react-big-scheduler icon indicating copy to clipboard operation
react-big-scheduler copied to clipboard

Error when using in a typescript project

Open IleanaAldama opened this issue 4 years ago • 7 comments

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 | 

IleanaAldama avatar Apr 21 '20 00:04 IleanaAldama

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

SirPhemmiey avatar May 31 '20 05:05 SirPhemmiey

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

SBajonczak avatar Jun 24 '20 09:06 SBajonczak

@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.

Yaowenjie avatar Jul 07 '20 08:07 Yaowenjie

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

dbrxnds avatar Oct 05 '20 12:10 dbrxnds

@Yaowenjie It's a private repository I think.

DatPriest avatar Dec 08 '20 10:12 DatPriest

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

Yaowenjie avatar Dec 13 '20 12:12 Yaowenjie

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

saiyamjain143 avatar Jun 26 '21 18:06 saiyamjain143