We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de6ac2c commit 6497adeCopy full SHA for 6497ade
1 file changed
README.md
@@ -53,9 +53,14 @@ position?: 'top-right'|'top-left'|'bottom-right'|'bottom-left' // quickly set th
53
```jsx
54
import { Canvas } from '@react-three/fiber'
55
import { Perf } from 'r3f-perf'
56
-;<Canvas>
57
- <Perf />
58
-</Canvas>
+
+function App() {
+ return (
59
+ <Canvas>
60
+ <Perf />
61
+ </Canvas>
62
+ )
63
+}
64
```
65
66
#### Usage without interface : PerfHeadless
@@ -73,7 +78,7 @@ const PerfHook = () => {
73
78
return <PerfHeadless />
74
79
}
75
80
76
-export default function App() {
81
77
82
return (
83
<Canvas>
84
<PerfHook />
0 commit comments