Property 'skyColor' does not exist on type 'HemisphereLightProps'.ts #2416
-
In a typescript project with the following code I have: <hemisphereLight
groundColor="0xffffff"
skyColor="red"
intensity={0.6}
/> But I get the following typescript error:
It looks like a bug to me, but as I'm new, I'm not sure if it's a reac-three-fiber bug or something else? |
Beta Was this translation helpful? Give feedback.
Answered by
donghaitao321
Dec 1, 2022
Replies: 1 comment 1 reply
-
It should not be skyColor but color. You can confirm its properties here. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tcoopman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It should not be skyColor but color. You can confirm its properties here.