We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d97a38 commit df65190Copy full SHA for df65190
README.md
@@ -67,8 +67,8 @@ import useA11y from '@react-three/a11y' then
67
68
const My3DComponent = (props) {
69
70
- //call useA11yContext to get the A11yContext from the provider
71
- const a11yContext = useA11yContext();
+ //call useA11y to get the A11yContext from the provider
+ const a11yContext = useA11y();
72
//now you have access to a11yContext.hover, a11yContext.focus and a11yContext.pressed
73
74
return (
0 commit comments