ibrahimcesar / react-lite-youtube-embed

📺 ‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎< A private by default, faster and cleaner YouTube embed component for React applications />
https://www.npmjs.com/package/react-lite-youtube-embed
MIT License
263 stars 40 forks source link

The LiteYouTube interface export #76

Closed alex-loktiev closed 1 year ago

alex-loktiev commented 2 years ago

Description It is a bit limited to use this awesome library with Typescript, because the LiteYouTube interface is not exported, there is no possibility to import it, and all the props should be defined in the end consuming app. That can lead to the situation when the defined in the end application interface is not up to date with the LiteYouTube one. It would be great to have an opportunity to import it.

To Reproduce Steps to reproduce the behavior:

  1. Go to the consuming app, that is based on the Typescript
  2. Try to import the LiteYouTube interface

Expected behavior You can import the interface

Desktop :

Screenshot 2022-09-28 at 12 09 23

ibrahimcesar commented 1 year ago

Thanks! Realeased!