react-simple-keyboard icon indicating copy to clipboard operation
react-simple-keyboard copied to clipboard

Need a support Type script

Open CrazyAdmin opened this issue 7 years ago • 3 comments

Add the index.d.ts file

CrazyAdmin avatar Feb 06 '19 14:02 CrazyAdmin

Hey @CrazyAdmin ,

Very valid request. I'll be shipping this sometime this week.

If you'd like to use the feature right now, you can use simple-keyboard directly (instead of the react port).

https://github.com/hodgef/simple-keyboard https://github.com/hodgef/simple-keyboard/blob/master/src/lib/%40types/index.d.ts

Regards, Francisco Hodge

hodgef avatar Feb 06 '19 14:02 hodgef

Hey @CrazyAdmin,

react-simple-keyboard now supports Typescript (as of 1.16.0) ! This should address this issue. If you see any other issues pop up feel free to let me know.

Here's an example.

Regards, Francisco Hodge

hodgef avatar Feb 07 '19 04:02 hodgef

Thank you so much !!!!

CrazyAdmin avatar Feb 14 '19 07:02 CrazyAdmin