Closed baseten closed 1 year ago
Fixes: https://github.com/pixijs/pixi-react/issues/350
According to https://github.com/pixijs/pixi-react/issues/350#issuecomment-1413422066 and as per suggestions on the Discord:
Basically you have to replace each React.FC with something that adds children prop PropsWithChildren is mainly used for that right now
Basically you have to replace each React.FC with something that adds children prop
PropsWithChildren is mainly used for that right now
This should fix the TS issue with Container
Fixes: https://github.com/pixijs/pixi-react/issues/350
According to https://github.com/pixijs/pixi-react/issues/350#issuecomment-1413422066 and as per suggestions on the Discord:
This should fix the TS issue with Container