The react sample seems to break when I install mui/material. Installing mui is fine, but after the installing material I get this error on App.tsx:
Type 'ReactElement<any, any>' is not assignable to type 'ReactPortal & HTMLElement[] & HTMLCollection'.
Property 'children' is missing in type 'ReactElement<any, any>' but required in type 'ReactPortal'.ts(2322)
index.d.ts(205, 9): 'children' is declared here.
NeedleEngine.tsx(5, 39): The expected type comes from property 'children' which is declared here on type 'IntrinsicAttributes & { children?: ReactNode; } & MainAttributes & Partial<Omit<HTMLElement, "style">> & LoadingAttributes & SkyboxAttributes'```
and this error on NeedleEngine.tsx:
```Property 'needle-engine' does not exist on type 'JSX.IntrinsicElements'.ts(2339)```
Any idea why how to solve this?
[Original Post on Discord](https://discord.com/channels/717429793926283276/1155162250177421332)
*by user 216692838757433347*
Hello @dubbies I just pushed an update to the react sample fixing the build error: GitHub - needle-engine/react-sample
I also tested it with your library (there’s a branch on github) to make sure it works there too.