How to define the type of Canvas props #1281
Unanswered
bcjohnblue
asked this question in
Q&A
Replies: 1 comment 3 replies
-
i think you can just hover or command-click something in your IDE to figure out types import { Props } from '@react-three/fiber' |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I used the
ContainerProps
to define the type ofCanvas
element when using the version 5 of R3F. However, when I update it to version 6, theContainerProps
is not even exist. How can I define the type ofCanvas
in R3F version 6 ?Beta Was this translation helpful? Give feedback.
All reactions