ui icon indicating copy to clipboard operation
ui copied to clipboard

fix: add typescript definitions

Open steve3d opened this issue 3 years ago • 1 comments

Because I'm just a user of fancybox 4, so I did not know much of core design of this package. These definitions are created by tsc and manually edited by me. So before actual merging, you might need to review and modify some of definitions, to determine how many or what functions are exposed in these typescript definitions.

and BTW, thanks for this great package.

steve3d avatar Feb 15 '22 02:02 steve3d

We absolutely love Fancybox 4, but had to give it up and move to Headless UI due to the lack of TypeScript support. I'll keep an eye on this and hopefully in the future we will be able to come back. TypeScript support is a make/break these days, unfortunately.

jacobgraf avatar Jun 07 '22 15:06 jacobgraf

Hi, Thank you for your work, typescript definitions are available in v5.

fancyapps avatar Mar 12 '23 12:03 fancyapps