pixijs / pixi-react

Write PIXI apps using React declarative style
https://pixijs.io/pixi-react/
MIT License
2.33k stars 177 forks source link

Expose more private types #310

Closed CreativeTechGuy closed 3 years ago

CreativeTechGuy commented 3 years ago

Description

When creating React components that wrap react-pixi components while using TypeScript, it's sometimes necessary to use Types that are currently only available in the private _ReactPixi namespace. For example InteractionEvents is useful when creating a component that will pass any event handlers to an interactable element.

I don't see a reason to not export many of these types for users who may want them.

Steps to reproduce

Additional info

inlet commented 3 years ago

Sure, feel free to create a PR with the exported types

inlet commented 3 years ago

Fixed in #311